Details

Time bar (total: 10.5s)

sample118.0ms

Algorithm
intervals
Results
37.0ms70×body1280valid
20.0ms261×body80nan
13.0ms165×body80valid
10.0ms29×body640valid
4.0ms15×body320valid
3.0msbody2560valid
1.0msbody160valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.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: 21.8b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

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

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

series211.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ a (* b 3.0))
118.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
22.0ms
(/ (* z t) 3.0)
48.0ms
(cos (- y (/ (* z t) 3.0)))

simplify99.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06851511
123611261
250011258

prune496.0ms

Filtered
113 candidates to 72 candidates (63.7%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New9122113
Fresh000
Picked101
Done000
Total9222114

Merged error: 17.9b

Counts
114 → 22

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series214.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ a (* b 3.0))
25.0ms
(* 0.3333333333333333 (* t z))
123.0ms
(* (* 2.0 (sqrt x)) (cos (- y (* 0.3333333333333333 (* t z)))))
43.0ms
(cos (- y (* 0.3333333333333333 (* t z))))

simplify67.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0435615
11582533
25002530

prune406.0ms

Filtered
92 candidates to 61 candidates (66.3%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New86692
Fresh51621
Picked101
Done000
Total9222114

Merged error: 17.8b

Counts
114 → 22

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (cos (- y (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))))
0.3b
(* (cbrt 0.3333333333333333) (* t z))
1.0b
(* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333))
26.7b
(cos (- y (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z)))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
21×pow1
19×cbrt-prod
16×add-exp-log add-cube-cbrt *-un-lft-identity
13×associate-*l*
12×add-cbrt-cube
10×associate-*r*
pow-prod-down
prod-exp cbrt-unprod
pow1/3 swap-sqr
cos-sum
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
cos-diff prod-diff *-commutative
pow-sqr pow-prod-up
pow2 distribute-rgt-in sub-neg distribute-lft-in pow-plus
Counts
4 → 102
Calls
4 calls:
8.0ms
(* (* 2.0 (sqrt x)) (cos (- y (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))))
7.0ms
(* (cbrt 0.3333333333333333) (* t z))
7.0ms
(* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333))
4.0ms
(cos (- y (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z)))))

series387.0ms

Counts
4 → 10
Calls
4 calls:
208.0ms
(* (* 2.0 (sqrt x)) (cos (- y (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))))
62.0ms
(* (cbrt 0.3333333333333333) (* t z))
0.0ms
(* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333))
116.0ms
(cos (- y (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z)))))

simplify76.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
04061067
11658950
25001933

prune543.0ms

Filtered
112 candidates to 71 candidates (63.4%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New10111112
Fresh61521
Picked101
Done000
Total10826134

Merged error: 17.7b

Counts
134 → 26

localize38.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333))
2.5b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))))
30.1b
(sin (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))
30.1b
(cos (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
23×pow1
20×add-sqr-sqrt
18×add-exp-log
16×cbrt-prod add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
10×pow-prod-down
prod-exp cbrt-unprod
associate-*r* associate-*l*
pow1/3 swap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-sqr *-commutative pow-prod-up
pow2 pow-plus associate-*r/ sin-mult
Counts
4 → 85
Calls
4 calls:
7.0ms
(* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333))
13.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))))
4.0ms
(sin (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))
5.0ms
(cos (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))

series361.0ms

Counts
4 → 10
Calls
4 calls:
0.0ms
(* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333))
209.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))))
85.0ms
(sin (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))
67.0ms
(cos (* (* (cbrt 0.3333333333333333) (cbrt 0.3333333333333333)) (* (cbrt 0.3333333333333333) (* t z))))

simplify58.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0291932
11150762
25001746

prune454.0ms

Filtered
95 candidates to 62 candidates (65.3%)
Pruning

32 alts after pruning (32 fresh and 0 done)

PrunedKeptTotal
New87895
Fresh12425
Picked101
Done000
Total8932121

Merged error: 17.7b

Counts
121 → 32

regimes3.3s

Accuracy

32.3% (2.9b remaining)

Error of 18.7b against oracle of 15.9b and baseline of 20.1b

bsearch189.0ms

Steps
ItersRangePoint
6
2.7180135270378636e-57
2.0998096438721967e-56
1.9514588059790215e-56
5
-7.949661431150896e-23
-2.532472238998331e-23
-6.767330824236414e-23

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07570
17570

end0.0ms

sample3.4s

Algorithm
intervals
Results
795.0ms1622×body1280valid
675.0ms9033×body80nan
439.0ms5665×body80valid
313.0ms889×body640valid
276.0ms349×body2560valid
96.0ms390×body320valid
41.0ms234×body160valid