Details

Time bar (total: 9.8s)

sample123.0ms

Algorithm
intervals
Results
21.0ms46×body1280valid
19.0ms271×body80nan
14.0ms184×body80valid
11.0ms15×body2560valid
10.0ms32×body640valid
4.0ms16×body320valid
1.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.4b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.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))))
5.0ms
(cos (- y (/ (* z t) 3.0)))

series49.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0419507
11751432
25001432

prune263.0ms

Filtered
84 candidates to 59 candidates (29.8%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New632184
Fresh000
Picked101
Done000
Total642185

Merged error: 16.2b

Counts
85 → 21

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ a (* b 3.0))
0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
26.7b
(cos (/ (* z t) 3.0))
26.8b
(sin (/ (* z t) 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))
9.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series73.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0460697
12089586
25001585

prune299.0ms

Filtered
70 candidates to 52 candidates (25.7%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New61970
Fresh21820
Picked101
Done000
Total642791

Merged error: 16.2b

Counts
91 → 27

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
26.7b
(cos (/ (* z t) 3.0))
27.1b
(sin (* 0.3333333333333333 (* t z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
associate-*r/
*-commutative sin-mult
distribute-rgt-in distribute-lft-in flip3-+ frac-add cos-mult flip-+ unswap-sqr
Counts
4 → 56
Calls
4 calls:
5.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
10.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
2.0ms
(cos (/ (* z t) 3.0))
3.0ms
(sin (* 0.3333333333333333 (* t z)))

series82.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
60.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
3.0ms
(cos (/ (* z t) 3.0))
6.0ms
(sin (* 0.3333333333333333 (* t z)))

simplify56.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0396756
11917649
25002648

prune281.0ms

Filtered
68 candidates to 50 candidates (26.5%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New65368
Fresh32326
Picked101
Done000
Total692695

Merged error: 16.2b

Counts
95 → 26

localize35.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (sin y))
0.7b
(cbrt (sin y))
26.7b
(cos (/ (* z t) 3.0))
27.1b
(sin (* 0.3333333333333333 (* t z)))

rewrite8.0ms

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

series44.0ms

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

simplify197.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
0102244
1234220
2707208
33969184
45001184

prune93.0ms

Filtered
48 candidates to 39 candidates (18.8%)
Pruning

26 alts after pruning (25 fresh and 1 done)

PrunedKeptTotal
New47148
Fresh12425
Picked011
Done000
Total482674

Merged error: 16.2b

Counts
74 → 26

regimes4.2s

Accuracy

61.1% (1.5b remaining)

Error of 17.6b against oracle of 16.1b and baseline of 20.0b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05437
15637
25637

end0.0ms

sample3.8s

Algorithm
intervals
Results
765.0ms1605×body1280valid
678.0ms9153×body80nan
425.0ms5561×body80valid
323.0ms952×body640valid
282.0ms372×body2560valid
108.0ms440×body320valid
34.0ms203×body160valid

Profiling

Loading profile data...