Details

Time bar (total: 7.3s)

sample102.0ms

Algorithm
intervals
Results
25.0ms51×body10240exit
24.0ms48×body1280valid
14.0ms51×body640valid
7.0ms125×body80valid
4.0ms21×body320valid
3.0ms88×body80nan
3.0msbody2560valid
2.0msbody640nan
1.0ms10×body160valid
1.0msbody1280nan
1.0msbody320nan
0.0msbody160nan

simplify217.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.4b

Counts
2 → 1

localize13.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.5b
(log (+ (- 1.0 y) (* y (exp z))))
3.2b
(+ (- 1.0 y) (* y (exp z)))

rewrite28.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:
5.0ms
(* y (exp z))
8.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
5.0ms
(log (+ (- 1.0 y) (* y (exp z))))
7.0ms
(+ (- 1.0 y) (* y (exp z)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* y (exp z))
158.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
77.0ms
(log (+ (- 1.0 y) (* y (exp z))))
35.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0499918
12002785
25001761

prune454.0ms

Filtered
114 candidates to 91 candidates (79.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1086114
Fresh000
Picked101
Done000
Total1096115

Merged error: 4.2b

Counts
115 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (- 1.0 y))
0.2b
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
4.0b
(log (fma (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y))) (cbrt (- 1.0 y)) (* y (exp z))))
18.4b
(fma (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y))) (cbrt (- 1.0 y)) (* y (exp z)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-prod
32×add-sqr-sqrt
30×*-un-lft-identity
14×add-cube-cbrt cbrt-div
12×pow1
10×swap-sqr
associate-*r* associate-*l*
add-exp-log flip3-- pow1/3 flip-- distribute-lft-out--
difference-of-squares
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
log-prod
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus rem-log-exp prod-exp log-pow *-commutative cbrt-unprod fma-udef
Counts
4 → 99
Calls
4 calls:
6.0ms
(cbrt (- 1.0 y))
10.0ms
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
1.0ms
(log (fma (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y))) (cbrt (- 1.0 y)) (* y (exp z))))
1.0ms
(fma (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y))) (cbrt (- 1.0 y)) (* y (exp z)))

series838.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(cbrt (- 1.0 y))
293.0ms
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
254.0ms
(log (fma (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y))) (cbrt (- 1.0 y)) (* y (exp z))))
201.0ms
(fma (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y))) (cbrt (- 1.0 y)) (* y (exp z)))

simplify57.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05171081
11755983
25002917

prune398.0ms

Filtered
111 candidates to 82 candidates (73.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1110111
Fresh055
Picked011
Done000
Total1116117

Merged error: 4.2b

Counts
117 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

2.7b
(fma (/ (* z y) t) 1.0 (fma 0.5 (/ (* (pow z 2) y) t) (/ (log 1.0) t)))
4.3b
(/ (* z y) t)
6.4b
(/ (* (pow z 2) y) t)
8.2b
(* (pow z 2) y)

rewrite17.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:
1.0ms
(fma (/ (* z y) t) 1.0 (fma 0.5 (/ (* (pow z 2) y) t) (/ (log 1.0) t)))
4.0ms
(/ (* z y) t)
5.0ms
(/ (* (pow z 2) y) t)
5.0ms
(* (pow z 2) y)

series148.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0300473
11353406
25002406

prune323.0ms

Filtered
99 candidates to 68 candidates (68.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New93699
Fresh044
Picked101
Done011
Total9411105

Merged error: 3.5b

Counts
105 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

2.7b
(fma (* (* z y) (/ 1 t)) 1.0 (fma 0.5 (/ (* (pow z 2) y) t) (/ (log 1.0) t)))
4.4b
(* (* z y) (/ 1 t))
6.4b
(/ (* (pow z 2) y) t)
8.2b
(* (pow z 2) y)

rewrite22.0ms

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

series150.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(fma (* (* z y) (/ 1 t)) 1.0 (fma 0.5 (/ (* (pow z 2) y) t) (/ (log 1.0) t)))
19.0ms
(* (* z y) (/ 1 t))
18.0ms
(/ (* (pow z 2) y) t)
22.0ms
(* (pow z 2) y)

simplify67.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0447586
12338487
25001473

prune337.0ms

Filtered
116 candidates to 73 candidates (62.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1151116
Fresh189
Picked101
Done011
Total11710127

Merged error: 3.5b

Counts
127 → 10

regimes485.0ms

Accuracy

70.1% (5.1b remaining)

Error of 8.6b against oracle of 3.5b and baseline of 20.5b

bsearch86.0ms

Steps
ItersRangePoint
9
-1.4365382038701608e-08
-5.490563833332279e-14
-1.2015657265463743e-09

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03525
13525

end0.0ms

sample3.1s

Algorithm
intervals
Results
751.0ms1407×body1280valid
737.0ms1480×body10240exit
475.0ms1595×body640valid
218.0ms3566×body80valid
163.0ms888×body320valid
102.0ms2530×body80nan
100.0ms80×body2560valid
56.0ms486×body160valid
55.0ms279×body640nan
34.0ms120×body1280nan
26.0ms193×body320nan
10.0ms119×body160nan