Details

Time bar (total: 10.2s)

sample130.0ms

Algorithm
intervals
Results
28.0ms59×body1280valid
26.0ms298×body80nan
13.0ms172×body80valid
9.0ms27×body640valid
8.0ms10×body2560valid
3.0ms14×body320valid
1.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
08419
18419

prune16.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.6b

Counts
2 → 2

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* z t) 3.0)
0.2b
(/ a (* b 3.0))
0.3b
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
25.0b
(cos (- y (/ (* z t) 3.0)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-/r* associate-/l* add-log-exp
cos-diff associate-*r* pow-prod-down
cos-sum frac-2neg clear-num div-inv
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
Counts
4 → 72
Calls
4 calls:
4.0ms
(/ (* z t) 3.0)
4.0ms
(/ a (* b 3.0))
6.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
6.0ms
(cos (- y (/ (* z t) 3.0)))

series47.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
30.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
11.0ms
(cos (- y (/ (* z t) 3.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
05629808

prune254.0ms

Filtered
60 candidates to 84 candidates (-40.0%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New651984
Fresh011
Picked101
Done000
Total662086

Merged error: 15.4b

Counts
86 → 20

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ a (* b 3.0))
0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* t (/ z 3.0)))) (* (sin y) (sin (* t (/ z 3.0))))))
28.5b
(sin (* t (/ z 3.0)))
28.7b
(cos (* t (/ z 3.0)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod add-log-exp
times-frac associate-*r/ associate-*r* pow-prod-down associate-/l*
cbrt-undiv div-exp
distribute-rgt-in frac-2neg distribute-lft-in flip3-+ associate-*l* frac-add clear-num associate-/r* cos-mult *-commutative flip-+ div-inv sin-mult
Counts
4 → 58
Calls
4 calls:
4.0ms
(/ a (* b 3.0))
10.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* t (/ z 3.0)))) (* (sin y) (sin (* t (/ z 3.0))))))
2.0ms
(sin (* t (/ z 3.0)))
2.0ms
(cos (* t (/ z 3.0)))

series70.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ a (* b 3.0))
60.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* t (/ z 3.0)))) (* (sin y) (sin (* t (/ z 3.0))))))
4.0ms
(sin (* t (/ z 3.0)))
3.0ms
(cos (* t (/ z 3.0)))

simplify46.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
051151038

prune299.0ms

Filtered
54 candidates to 70 candidates (-29.6%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New571370
Fresh61319
Picked101
Done000
Total642690

Merged error: 15.1b

Counts
90 → 26

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 b) (/ a 3.0))
0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* t (/ z 3.0)))) (* (sin y) (sin (* t (/ z 3.0))))))
28.5b
(sin (* t (/ z 3.0)))
28.7b
(cos (* t (/ z 3.0)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
31×add-exp-log
25×times-frac
21×*-un-lft-identity add-cbrt-cube
19×add-cube-cbrt
16×associate-*r*
14×associate-*l*
11×pow1 prod-exp
div-exp
cbrt-unprod
unswap-sqr
cbrt-undiv associate-*r/ pow-prod-down add-log-exp
rec-exp 1-exp *-commutative div-inv
distribute-rgt-in frac-times distribute-lft-in flip3-+ associate-*l/ frac-add cos-mult flip-+ sin-mult
Counts
4 → 93
Calls
4 calls:
10.0ms
(* (/ 1 b) (/ a 3.0))
10.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* t (/ z 3.0)))) (* (sin y) (sin (* t (/ z 3.0))))))
2.0ms
(sin (* t (/ z 3.0)))
2.0ms
(cos (* t (/ z 3.0)))

series73.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (/ 1 b) (/ a 3.0))
62.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* t (/ z 3.0)))) (* (sin y) (sin (* t (/ z 3.0))))))
4.0ms
(sin (* t (/ z 3.0)))
3.0ms
(cos (* t (/ z 3.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049801318
149801318

prune345.0ms

Filtered
77 candidates to 105 candidates (-36.4%)
Pruning

27 alts after pruning (26 fresh and 1 done)

PrunedKeptTotal
New1032105
Fresh12425
Picked011
Done000
Total10427131

Merged error: 15.1b

Counts
131 → 27

localize31.0ms

Local error

Found 4 expressions with local error:

28.5b
(sin (* t (/ z 3.0)))
28.5b
(sin (* t (/ z 3.0)))
28.5b
(sin (* t (/ z 3.0)))
28.7b
(cos (* t (/ z 3.0)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
2.0ms
(sin (* t (/ z 3.0)))
2.0ms
(sin (* t (/ z 3.0)))
2.0ms
(sin (* t (/ z 3.0)))
2.0ms
(cos (* t (/ z 3.0)))

series15.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(sin (* t (/ z 3.0)))
4.0ms
(sin (* t (/ z 3.0)))
4.0ms
(sin (* t (/ z 3.0)))
3.0ms
(cos (* t (/ z 3.0)))

simplify116.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (112.0ms)

IterNodesCost
05077296

prune132.0ms

Filtered
36 candidates to 40 candidates (-11.1%)
Pruning

28 alts after pruning (27 fresh and 1 done)

PrunedKeptTotal
New37340
Fresh12425
Picked101
Done011
Total392867

Merged error: 15.1b

Counts
67 → 28

regimes4.6s

Accuracy

48.1% (2.3b remaining)

Error of 17.8b against oracle of 15.5b and baseline of 20.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05666
15666

end0.0ms

sample3.8s

Algorithm
intervals
Results
752.0ms1577×body1280valid
708.0ms9134×body80nan
431.0ms5606×body80valid
306.0ms930×body640valid
292.0ms378×body2560valid
108.0ms448×body320valid
33.0ms184×body160valid

Profiling

Loading profile data...