Details

Time bar (total: 8.6s)

sample112.0ms

Algorithm
intervals
Results
24.0ms287×body80nan
20.0ms44×body1280valid
14.0ms182×body80valid
10.0ms14×body2560valid
10.0ms29×body640valid
3.0ms14×body320valid
1.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
15810
28210
39910
410710
510910
610910

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.1b

Counts
2 → 1

localize17.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))))
25.5b
(cos (- y (/ (* z t) 3.0)))

rewrite34.0ms

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

series160.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06851511
123611261
250011258

prune416.0ms

Filtered
113 candidates to 72 candidates (63.7%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New9221113
Fresh000
Picked101
Done000
Total9321114

Merged error: 16.1b

Counts
114 → 21

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin (/ (* z t) 3.0)))
1.5b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
28.4b
(cos (/ (* z t) 3.0))
28.5b
(sin (/ (* z t) 3.0))

rewrite20.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
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u add-log-exp
*-commutative sin-mult
associate-*r/ unswap-sqr
Counts
4 → 64
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))

series156.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
89.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
9.0ms
(cos (/ (* z t) 3.0))
17.0ms
(sin (/ (* z t) 3.0))

simplify155.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0233598
1961490
24991488
35001488

prune395.0ms

Filtered
76 candidates to 55 candidates (72.4%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New70676
Fresh11920
Picked101
Done000
Total722597

Merged error: 16.0b

Counts
97 → 25

localize29.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (pow (cos (/ (* z t) 3.0)) 3))
1.5b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
28.4b
(cos (/ (* z t) 3.0))
28.5b
(sin (/ (* z t) 3.0))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1 add-exp-log add-cbrt-cube
12×cbrt-prod
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down cube-prod
cube-mult pow1/3 unpow3 associate-*r/ associate-*r* associate-*l* *-commutative rem-cbrt-cube sin-mult sqr-pow
Counts
4 → 66
Calls
4 calls:
2.0ms
(cbrt (pow (cos (/ (* z t) 3.0)) 3))
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))

series130.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(cbrt (pow (cos (/ (* z t) 3.0)) 3))
93.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
9.0ms
(cos (/ (* z t) 3.0))
15.0ms
(sin (/ (* z t) 3.0))

simplify133.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0263575
1994496
24670494
35001494

prune400.0ms

Filtered
78 candidates to 52 candidates (66.7%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New75378
Fresh22224
Picked101
Done000
Total7825103

Merged error: 16.0b

Counts
103 → 25

localize33.0ms

Local error

Found 4 expressions with local error:

0.4b
(log (exp (cos (/ (* z t) 3.0))))
1.5b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
28.4b
(cos (/ (* z t) 3.0))
28.5b
(sin (/ (* z t) 3.0))

rewrite20.0ms

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

series125.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(log (exp (cos (/ (* z t) 3.0))))
90.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
9.0ms
(cos (/ (* z t) 3.0))
16.0ms
(sin (/ (* z t) 3.0))

simplify117.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0237534
1835435
24108433
35001421

prune360.0ms

Filtered
72 candidates to 54 candidates (75.0%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New69372
Fresh12324
Picked101
Done000
Total712697

Merged error: 16.0b

Counts
97 → 26

regimes2.3s

Accuracy

49.5% (1.9b remaining)

Error of 18.1b against oracle of 16.2b and baseline of 19.9b

bsearch5.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04730
14730

end0.0ms

sample3.3s

Algorithm
intervals
Results
771.0ms1617×body1280valid
682.0ms8969×body80nan
436.0ms5565×body80valid
319.0ms936×body640valid
293.0ms381×body2560valid
107.0ms428×body320valid
35.0ms189×body160valid