Details

Time bar (total: 7.7s)

sample120.0ms

Algorithm
intervals
Results
32.0ms63×body1280valid
27.0ms46×body10240exit
11.0ms40×body640valid
7.0ms109×body80valid
6.0msbody2560valid
5.0ms24×body320valid
3.0ms75×body80nan
2.0ms18×body160valid
2.0msbody1280nan
2.0msbody640nan
1.0msbody320nan
0.0msbody160nan

simplify256.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0207
1357
2537
3817
41217
52507
63147
75327
89087
913977
1015537
1118927
1246827
1350017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (exp z))
0.0b
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
1.2b
(log (+ (- 1.0 y) (* y (exp z))))
2.6b
(+ (- 1.0 y) (* y (exp z)))

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×*-un-lft-identity
23×add-cube-cbrt
12×times-frac
11×pow1 associate-+l+
prod-diff add-log-exp
add-exp-log add-cbrt-cube
fma-def log-pow
expm1-log1p-u log-div log1p-expm1-u associate-/l*
log-prod flip3-+ associate-*r* associate-*l* associate-/r* flip-+
div-sub sum-log
cbrt-undiv +-commutative associate-+l- sub-neg frac-2neg diff-log div-exp rem-log-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 102
Calls
4 calls:
11.0ms
(* y (exp z))
55.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
19.0ms
(log (+ (- 1.0 y) (* y (exp z))))
36.0ms
(+ (- 1.0 y) (* y (exp z)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* y (exp z))
164.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
78.0ms
(log (+ (- 1.0 y) (* y (exp z))))
37.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify71.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0499918
12002785
25001761

prune420.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 5.4b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (* y (exp z)))
0.3b
(* (cbrt (* y (exp z))) (cbrt (* y (exp z))))
3.1b
(log (+ (- 1.0 y) (* (* (cbrt (* y (exp z))) (cbrt (* y (exp z)))) (cbrt (* y (exp z))))))
13.4b
(+ (- 1.0 y) (* (* (cbrt (* y (exp z))) (cbrt (* y (exp z)))) (cbrt (* y (exp z)))))

rewrite139.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity
16×add-cube-cbrt
12×pow1
11×associate-+l+
prod-diff add-log-exp
add-exp-log pow1/3
cbrt-prod fma-def
expm1-log1p-u swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u
log-prod
log-div flip3-+ pow-prod-down sum-log pow-sqr pow-prod-up flip-+
+-commutative pow2 associate-+l- sub-neg pow-plus diff-log rem-log-exp prod-exp log-pow *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 91
Calls
4 calls:
7.0ms
(cbrt (* y (exp z)))
17.0ms
(* (cbrt (* y (exp z))) (cbrt (* y (exp z))))
57.0ms
(log (+ (- 1.0 y) (* (* (cbrt (* y (exp z))) (cbrt (* y (exp z)))) (cbrt (* y (exp z))))))
55.0ms
(+ (- 1.0 y) (* (* (cbrt (* y (exp z))) (cbrt (* y (exp z)))) (cbrt (* y (exp z)))))

series343.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(cbrt (* y (exp z)))
120.0ms
(* (cbrt (* y (exp z))) (cbrt (* y (exp z))))
97.0ms
(log (+ (- 1.0 y) (* (* (cbrt (* y (exp z))) (cbrt (* y (exp z)))) (cbrt (* y (exp z))))))
63.0ms
(+ (- 1.0 y) (* (* (cbrt (* y (exp z))) (cbrt (* y (exp z)))) (cbrt (* y (exp z)))))

simplify81.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
04581247
11926944
25002790

prune413.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 5.4b

localize17.0ms

Local error

Found 4 expressions with local error:

3.2b
(fma (/ (* z y) t) 1.0 (fma 0.5 (/ (* (pow z 2) y) t) (/ (log 1.0) t)))
3.4b
(/ (* z y) t)
7.5b
(/ (* (pow z 2) y) t)
9.7b
(* (pow z 2) y)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
24×add-exp-log
17×add-sqr-sqrt
16×add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
associate-*l*
prod-exp
times-frac div-exp associate-/r*
pow1 cbrt-undiv expm1-log1p-u unpow-prod-down log1p-expm1-u add-log-exp unswap-sqr
associate-*r* cbrt-unprod
pow-to-exp frac-2neg pow-exp clear-num div-inv associate-/l* unpow2 sqr-pow
*-commutative fma-udef
Counts
4 → 87
Calls
4 calls:
0.0ms
(fma (/ (* z y) t) 1.0 (fma 0.5 (/ (* (pow z 2) y) t) (/ (log 1.0) t)))
10.0ms
(/ (* z y) t)
12.0ms
(/ (* (pow z 2) y) t)
16.0ms
(* (pow z 2) y)

series160.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(fma (/ (* z y) t) 1.0 (fma 0.5 (/ (* (pow z 2) y) t) (/ (log 1.0) t)))
20.0ms
(/ (* z y) t)
21.0ms
(/ (* (pow z 2) y) t)
20.0ms
(* (pow z 2) y)

simplify61.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0300473
11353406
25002406

prune361.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.7b

localize19.0ms

Local error

Found 4 expressions with local error:

3.2b
(fma (/ 1 (/ t (* z y))) 1.0 (fma 0.5 (/ (* (pow z 2) y) t) (/ (log 1.0) t)))
3.4b
(/ t (* z y))
7.5b
(/ (* (pow z 2) y) t)
9.7b
(* (pow z 2) y)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
24×add-exp-log
17×add-sqr-sqrt
16×add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
associate-*l*
prod-exp
times-frac div-exp
pow1 cbrt-undiv expm1-log1p-u unpow-prod-down associate-/r* log1p-expm1-u associate-/l* add-log-exp unswap-sqr
associate-*r* cbrt-unprod
pow-to-exp frac-2neg pow-exp clear-num div-inv unpow2 sqr-pow
*-commutative fma-udef
Counts
4 → 87
Calls
4 calls:
0.0ms
(fma (/ 1 (/ t (* z y))) 1.0 (fma 0.5 (/ (* (pow z 2) y) t) (/ (log 1.0) t)))
8.0ms
(/ t (* z y))
12.0ms
(/ (* (pow z 2) y) t)
16.0ms
(* (pow z 2) y)

series214.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(fma (/ 1 (/ t (* z y))) 1.0 (fma 0.5 (/ (* (pow z 2) y) t) (/ (log 1.0) t)))
25.0ms
(/ t (* z y))
20.0ms
(/ (* (pow z 2) y) t)
20.0ms
(* (pow z 2) y)

simplify55.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0304486
11315414
25002412

prune351.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.6b

regimes532.0ms

Accuracy

70.7% (5.1b remaining)

Error of 9.2b against oracle of 4.1b and baseline of 21.6b

bsearch143.0ms

Steps
ItersRangePoint
4
1.1340209900861153e-217
2.058987835970268e-217
2.0088638342293223e-217
9
-2.123435313099661e-25
-7.410899193841486e-31
-2.0867858317590094e-25

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04634
14634

end0.0ms

sample3.4s

Algorithm
intervals
Results
808.0ms1505×body1280valid
766.0ms1466×body10240exit
465.0ms1552×body640valid
214.0ms3481×body80valid
174.0ms909×body320valid
104.0ms78×body2560valid
88.0ms2448×body80nan
59.0ms498×body160valid
58.0ms273×body640nan
29.0ms96×body1280nan
28.0ms187×body320nan
10.0ms118×body160nan