Details

Time bar (total: 14.3s)

sample251.0ms

Algorithm
intervals
Results
50.0ms291×body80nan
45.0ms50×body1280valid
26.0ms174×body80valid
20.0ms31×body640valid
17.0ms12×body2560valid
7.0ms16×body320valid
2.0msbody160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune7.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.8b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.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:
7.0ms
(/ a (* b 3.0))
8.0ms
(/ (* z t) 3.0)
11.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
5.0ms
(cos (- y (/ (* z t) 3.0)))

series91.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0419507
11751432
25002432

prune447.0ms

Filtered
84 candidates to 59 candidates (29.8%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New661884
Fresh000
Picked101
Done000
Total671885

Merged error: 15.7b

Counts
85 → 18

localize54.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
2.6b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
26.1b
(cos (/ (* z t) 3.0))
26.8b
(sin (/ (* z t) 3.0))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
28×pow1 add-exp-log add-cbrt-cube
16×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r/ associate-*r* associate-*l* *-commutative
cos-mult sin-mult
Counts
4 → 60
Calls
4 calls:
15.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
16.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
4.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))

series128.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
53.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
6.0ms
(cos (/ (* z t) 3.0))
7.0ms
(sin (/ (* z t) 3.0))

simplify64.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
0383704
11621550
25002550

prune377.0ms

Filtered
72 candidates to 46 candidates (36.1%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New621072
Fresh31417
Picked101
Done000
Total662490

Merged error: 15.7b

Counts
90 → 24

localize31.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin (/ (* z t) 3.0)))
2.6b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
26.1b
(cos (/ (* z t) 3.0))
26.8b
(sin (/ (* z t) 3.0))

rewrite19.0ms

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

series48.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
29.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
3.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0247552
11029446
25001446

prune284.0ms

Filtered
68 candidates to 48 candidates (29.4%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New66268
Fresh02323
Picked101
Done000
Total672592

Merged error: 15.7b

Counts
92 → 25

localize44.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin y))
2.6b
(* (* 2.0 (sqrt x)) (* (* (cbrt (sin y)) (cbrt (sin y))) (* (cbrt (sin y)) (sin (/ (* z t) 3.0)))))
26.1b
(cos (/ (* z t) 3.0))
26.8b
(sin (/ (* z t) 3.0))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
45×pow1 add-exp-log
33×add-cbrt-cube
31×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
cbrt-prod
pow1/3 associate-*r* associate-*l* *-commutative
Counts
4 → 65
Calls
4 calls:
1.0ms
(cbrt (sin y))
18.0ms
(* (* 2.0 (sqrt x)) (* (* (cbrt (sin y)) (cbrt (sin y))) (* (cbrt (sin y)) (sin (/ (* z t) 3.0)))))
3.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))

series55.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
03971046
11820710
25001613

prune137.0ms

Filtered
77 candidates to 42 candidates (45.5%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New73477
Fresh32124
Picked101
Done000
Total7725102

Merged error: 15.7b

Counts
102 → 25

regimes5.4s

Accuracy

63.5% (1.4b remaining)

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

bsearch7.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05846
15846

end0.0ms

sample6.6s

Algorithm
intervals
Results
1.3s1531×body1280valid
1.2s8916×body80nan
761.0ms5626×body80valid
556.0ms960×body640valid
485.0ms375×body2560valid
181.0ms427×body320valid
59.0ms208×body160valid

Profiling

Loading profile data...