Details

Time bar (total: 9.0s)

sample128.0ms

Algorithm
intervals
Results
23.0ms50×body1280valid
21.0ms291×body80nan
13.0ms174×body80valid
10.0ms31×body640valid
9.0ms12×body2560valid
4.0ms16×body320valid
1.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.8b

Counts
2 → 1

localize17.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)))

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
(/ a (* b 3.0))
5.0ms
(/ (* z t) 3.0)
6.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
5.0ms
(cos (- y (/ (* z t) 3.0)))

series50.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0419507
11751432
25002432

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

localize26.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))

rewrite22.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:
8.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
8.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))

series71.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
31.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))

simplify50.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0383704
11621550
25002550

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

localize26.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)))
8.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))

series50.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
31.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))

simplify36.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0247552
11029446
25001446

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

localize32.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))

rewrite23.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))
15.0ms
(* (* 2.0 (sqrt x)) (* (* (cbrt (sin y)) (cbrt (sin y))) (* (cbrt (sin y)) (sin (/ (* z t) 3.0)))))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series54.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))

simplify67.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
03971046
11820710
25001613

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

regimes3.6s

Accuracy

63.5% (1.4b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05846
15846

end0.0ms

sample3.7s

Algorithm
intervals
Results
708.0ms1531×body1280valid
635.0ms8916×body80nan
424.0ms5626×body80valid
313.0ms960×body640valid
283.0ms375×body2560valid
102.0ms427×body320valid
34.0ms208×body160valid

Profiling

Loading profile data...