Details

Time bar (total: 15.0s)

sample126.0ms

Algorithm
intervals
Results
43.0ms62×body1280valid
29.0ms61×body640valid
20.0ms189×body80valid
13.0ms30×body320valid
4.0ms17×body160valid

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
04813
116113
294413
3500212

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 31.4b

localize20.0ms

Local error

Found 4 expressions with local error:

3.4b
(* (pow t 3.0) (sin k))
3.5b
(/ (/ 2.0 (* (pow t 3.0) (sin k))) (tan k))
5.7b
(/ (* l l) (fma 2 1.0 (pow (/ k t) 2.0)))
25.4b
(* (/ (/ 2.0 (* (pow t 3.0) (sin k))) (tan k)) (/ (* l l) (fma 2 1.0 (pow (/ k t) 2.0))))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
117×add-exp-log
74×add-cbrt-cube
73×times-frac
56×add-sqr-sqrt
50×div-exp
41×add-cube-cbrt *-un-lft-identity
40×prod-exp
33×associate-*l*
30×cbrt-undiv
22×cbrt-unprod
11×div-inv
10×associate-*r*
associate-/l*
unswap-sqr
pow1 associate-/r*
pow-to-exp pow-exp
expm1-log1p-u unpow-prod-down log1p-expm1-u add-log-exp
tan-quot frac-2neg clear-num associate-/r/ *-commutative sqr-pow
frac-times associate-*r/ pow-prod-down associate-*l/ associate-/l/
Counts
4 → 184
Calls
4 calls:
5.0ms
(* (pow t 3.0) (sin k))
9.0ms
(/ (/ 2.0 (* (pow t 3.0) (sin k))) (tan k))
5.0ms
(/ (* l l) (fma 2 1.0 (pow (/ k t) 2.0)))
22.0ms
(* (/ (/ 2.0 (* (pow t 3.0) (sin k))) (tan k)) (/ (* l l) (fma 2 1.0 (pow (/ k t) 2.0))))

series1.4s

Counts
4 → 12
Calls
4 calls:
168.0ms
(* (pow t 3.0) (sin k))
324.0ms
(/ (/ 2.0 (* (pow t 3.0) (sin k))) (tan k))
67.0ms
(/ (* l l) (fma 2 1.0 (pow (/ k t) 2.0)))
861.0ms
(* (/ (/ 2.0 (* (pow t 3.0) (sin k))) (tan k)) (/ (* l l) (fma 2 1.0 (pow (/ k t) 2.0))))

simplify44.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010192396
150011978

prune751.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 26.2b

localize20.0ms

Local error

Found 4 expressions with local error:

2.8b
(/ (* (/ 2.0 (* (pow t 3.0) (sin k))) l) (tan k))
3.4b
(* (pow t 3.0) (sin k))
3.6b
(* (/ 2.0 (* (pow t 3.0) (sin k))) l)
19.6b
(* (/ (* (/ 2.0 (* (pow t 3.0) (sin k))) l) (tan k)) (/ l (fma 2 1.0 (pow (/ k t) 2.0))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
117×add-exp-log
74×add-cbrt-cube
49×prod-exp
41×div-exp
33×add-sqr-sqrt
27×cbrt-unprod
25×cbrt-undiv
22×associate-*l*
21×add-cube-cbrt *-un-lft-identity
19×times-frac associate-*r*
pow1
unswap-sqr
pow-to-exp pow-exp
expm1-log1p-u unpow-prod-down log1p-expm1-u div-inv add-log-exp
associate-*l/ associate-/r* *-commutative
tan-quot pow-prod-down associate-/r/ sqr-pow
frac-times frac-2neg associate-*r/ clear-num associate-/l/ associate-/l*
Counts
4 → 150
Calls
4 calls:
10.0ms
(/ (* (/ 2.0 (* (pow t 3.0) (sin k))) l) (tan k))
6.0ms
(* (pow t 3.0) (sin k))
8.0ms
(* (/ 2.0 (* (pow t 3.0) (sin k))) l)
16.0ms
(* (/ (* (/ 2.0 (* (pow t 3.0) (sin k))) l) (tan k)) (/ l (fma 2 1.0 (pow (/ k t) 2.0))))

series1.8s

Counts
4 → 12
Calls
4 calls:
445.0ms
(/ (* (/ 2.0 (* (pow t 3.0) (sin k))) l) (tan k))
174.0ms
(* (pow t 3.0) (sin k))
343.0ms
(* (/ 2.0 (* (pow t 3.0) (sin k))) l)
875.0ms
(* (/ (* (/ 2.0 (* (pow t 3.0) (sin k))) l) (tan k)) (/ l (fma 2 1.0 (pow (/ k t) 2.0))))

simplify128.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09131905
148941506
250011506

prune574.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 25.5b

localize32.0ms

Local error

Found 4 expressions with local error:

1.8b
(/ l (fma 2 1.0 (pow (/ k t) 2.0)))
2.8b
(/ (* (/ 2.0 (* (pow (* (cbrt t) (cbrt t)) 3.0) (* (pow (cbrt t) 3.0) (sin k)))) l) (tan k))
3.6b
(* (/ 2.0 (* (pow (* (cbrt t) (cbrt t)) 3.0) (* (pow (cbrt t) 3.0) (sin k)))) l)
19.6b
(* (/ (* (/ 2.0 (* (pow (* (cbrt t) (cbrt t)) 3.0) (* (pow (cbrt t) 3.0) (sin k)))) l) (tan k)) (/ l (fma 2 1.0 (pow (/ k t) 2.0))))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
436×add-exp-log
240×prod-exp
146×div-exp
100×add-cbrt-cube
48×pow-exp
40×cbrt-unprod
34×cbrt-undiv
33×add-sqr-sqrt
32×pow-to-exp
28×times-frac
26×add-cube-cbrt *-un-lft-identity
16×associate-*r*
15×associate-*l*
pow1
associate-/r*
div-inv
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp
associate-*l/ unswap-sqr
tan-quot frac-2neg pow-prod-down clear-num associate-/r/ *-commutative
frac-times associate-*r/ associate-/l/
Counts
4 → 208
Calls
4 calls:
3.0ms
(/ l (fma 2 1.0 (pow (/ k t) 2.0)))
15.0ms
(/ (* (/ 2.0 (* (pow (* (cbrt t) (cbrt t)) 3.0) (* (pow (cbrt t) 3.0) (sin k)))) l) (tan k))
14.0ms
(* (/ 2.0 (* (pow (* (cbrt t) (cbrt t)) 3.0) (* (pow (cbrt t) 3.0) (sin k)))) l)
22.0ms
(* (/ (* (/ 2.0 (* (pow (* (cbrt t) (cbrt t)) 3.0) (* (pow (cbrt t) 3.0) (sin k)))) l) (tan k)) (/ l (fma 2 1.0 (pow (/ k t) 2.0))))

series2.0s

Counts
4 → 12
Calls
4 calls:
89.0ms
(/ l (fma 2 1.0 (pow (/ k t) 2.0)))
524.0ms
(/ (* (/ 2.0 (* (pow (* (cbrt t) (cbrt t)) 3.0) (* (pow (cbrt t) 3.0) (sin k)))) l) (tan k))
404.0ms
(* (/ 2.0 (* (pow (* (cbrt t) (cbrt t)) 3.0) (* (pow (cbrt t) 3.0) (sin k)))) l)
964.0ms
(* (/ (* (/ 2.0 (* (pow (* (cbrt t) (cbrt t)) 3.0) (* (pow (cbrt t) 3.0) (sin k)))) l) (tan k)) (/ l (fma 2 1.0 (pow (/ k t) 2.0))))

simplify58.0ms

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011653923
150013194

prune754.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 23.6b

localize28.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (/ 2.0 (* (pow (cbrt t) 3.0) (sin k))) l)
1.8b
(/ l (fma 2 1.0 (pow (/ k t) 2.0)))
2.8b
(/ (* (/ 1 (pow (* (cbrt t) (cbrt t)) 3.0)) (* (/ 2.0 (* (pow (cbrt t) 3.0) (sin k))) l)) (tan k))
19.6b
(* (/ (* (/ 1 (pow (* (cbrt t) (cbrt t)) 3.0)) (* (/ 2.0 (* (pow (cbrt t) 3.0) (sin k))) l)) (tan k)) (/ l (fma 2 1.0 (pow (/ k t) 2.0))))

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
1473×add-exp-log
768×prod-exp
622×div-exp
173×add-cbrt-cube
148×pow-exp
94×pow-to-exp
72×rec-exp 1-exp cbrt-unprod
64×cbrt-undiv
33×add-sqr-sqrt
28×times-frac
26×add-cube-cbrt *-un-lft-identity
16×associate-*r*
15×associate-*l*
pow1
associate-/r*
associate-*l/ div-inv
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp
associate-/l/ unswap-sqr
tan-quot frac-times frac-2neg associate-*r/ pow-prod-down clear-num associate-/r/ *-commutative
Counts
4 → 388
Calls
4 calls:
10.0ms
(* (/ 2.0 (* (pow (cbrt t) 3.0) (sin k))) l)
3.0ms
(/ l (fma 2 1.0 (pow (/ k t) 2.0)))
24.0ms
(/ (* (/ 1 (pow (* (cbrt t) (cbrt t)) 3.0)) (* (/ 2.0 (* (pow (cbrt t) 3.0) (sin k))) l)) (tan k))
29.0ms
(* (/ (* (/ 1 (pow (* (cbrt t) (cbrt t)) 3.0)) (* (/ 2.0 (* (pow (cbrt t) 3.0) (sin k))) l)) (tan k)) (/ l (fma 2 1.0 (pow (/ k t) 2.0))))

series2.2s

Counts
4 → 12
Calls
4 calls:
603.0ms
(* (/ 2.0 (* (pow (cbrt t) 3.0) (sin k))) l)
88.0ms
(/ l (fma 2 1.0 (pow (/ k t) 2.0)))
513.0ms
(/ (* (/ 1 (pow (* (cbrt t) (cbrt t)) 3.0)) (* (/ 2.0 (* (pow (cbrt t) 3.0) (sin k))) l)) (tan k))
969.0ms
(* (/ (* (/ 1 (pow (* (cbrt t) (cbrt t)) 3.0)) (* (/ 2.0 (* (pow (cbrt t) 3.0) (sin k))) l)) (tan k)) (/ l (fma 2 1.0 (pow (/ k t) 2.0))))

simplify90.0ms

Algorithm
egg-herbie
Counts
400 → 400
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
019127646
150016562

prune703.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 22.9b

regimes381.0ms

Accuracy

45.4% (1.3b remaining)

Error of 23.1b against oracle of 21.8b and baseline of 24.2b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04763
14763

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.4s2052×body1280valid
817.0ms1709×body640valid
615.0ms5841×body80valid
305.0ms885×body320valid
100.0ms443×body160valid