Details

Time bar (total: 3.5s)

sample40.0ms

Algorithm
intervals
Results
14.0ms286×body80valid
4.0ms77×body80nan

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1457
2677
3947
41157
51157

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: 24.0b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* z z) (* t a))
5.2b
(* (* x y) z)
10.8b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
23.7b
(sqrt (- (* z z) (* t a)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
11×add-sqr-sqrt
10×pow1 add-cube-cbrt *-un-lft-identity
sqrt-prod
times-frac prod-exp associate-/r* cbrt-unprod add-log-exp
sqrt-div
cbrt-undiv flip3-- div-exp associate-*r* pow-prod-down flip--
associate-/r/
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log associate-*l* clear-num *-commutative div-inv associate-/l*
Counts
4 → 76
Calls
4 calls:
3.0ms
(- (* z z) (* t a))
4.0ms
(* (* x y) z)
9.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
4.0ms
(sqrt (- (* z z) (* t a)))

series54.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* z z) (* t a))
5.0ms
(* (* x y) z)
28.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
12.0ms
(sqrt (- (* z z) (* t a)))

simplify50.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0343583
11850515
25003510

prune125.0ms

Filtered
88 candidates to 60 candidates (31.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New80888
Fresh000
Picked101
Done000
Total81889

Merged error: 1.9b

Counts
89 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (sqrt (- (* z z) (* t a))) z)
1.2b
(- (* z z) (* t a))
3.3b
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
23.7b
(sqrt (- (* z z) (* t a)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
76×times-frac
47×add-sqr-sqrt
46×add-cube-cbrt *-un-lft-identity
33×sqrt-prod
25×associate-/r*
18×add-exp-log add-cbrt-cube
cbrt-undiv div-exp associate-/l*
add-log-exp
pow1
sqrt-div div-inv
flip3-- flip--
frac-2neg prod-exp clear-num cbrt-unprod associate-/l/
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/r/
Counts
4 → 132
Calls
4 calls:
6.0ms
(/ (sqrt (- (* z z) (* t a))) z)
3.0ms
(- (* z z) (* t a))
9.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
3.0ms
(sqrt (- (* z z) (* t a)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ (sqrt (- (* z z) (* t a))) z)
7.0ms
(- (* z z) (* t a))
28.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
14.0ms
(sqrt (- (* z z) (* t a)))

simplify62.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05121325
123581230
250021214

prune141.0ms

Filtered
144 candidates to 99 candidates (31.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1404144
Fresh347
Picked011
Done000
Total1439152

Merged error: 1.9b

Counts
152 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

1.2b
(* x (/ y (/ (sqrt (- (* z z) (* t a))) z)))
1.2b
(- (* z z) (* t a))
3.4b
(/ y (/ (sqrt (- (* z z) (* t a))) z))
23.7b
(sqrt (- (* z z) (* t a)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
263×times-frac
157×add-sqr-sqrt
143×add-cube-cbrt *-un-lft-identity
71×associate-*r*
67×sqrt-prod
22×associate-/r*
18×add-exp-log add-cbrt-cube
div-inv
pow1
cbrt-undiv div-exp add-log-exp
unswap-sqr
associate-*l* prod-exp cbrt-unprod associate-/l*
flip3-- sqrt-div associate-/r/ flip--
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log associate-*r/ pow-prod-down clear-num *-commutative
Counts
4 → 227
Calls
4 calls:
21.0ms
(* x (/ y (/ (sqrt (- (* z z) (* t a))) z)))
3.0ms
(- (* z z) (* t a))
9.0ms
(/ y (/ (sqrt (- (* z z) (* t a))) z))
4.0ms
(sqrt (- (* z z) (* t a)))

series65.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* x (/ y (/ (sqrt (- (* z z) (* t a))) z)))
7.0ms
(- (* z z) (* t a))
17.0ms
(/ y (/ (sqrt (- (* z z) (* t a))) z))
12.0ms
(sqrt (- (* z z) (* t a)))

simplify108.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
08142501
139922347
250022347

prune187.0ms

Filtered
239 candidates to 159 candidates (33.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2372239
Fresh257
Picked011
Done011
Total2399248

Merged error: 1.9b

Counts
248 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

1.2b
(* x (/ (* y (* (cbrt z) (cbrt z))) (/ (sqrt (- (* z z) (* t a))) (cbrt z))))
1.2b
(- (* z z) (* t a))
6.5b
(/ (* y (* (cbrt z) (cbrt z))) (/ (sqrt (- (* z z) (* t a))) (cbrt z)))
23.7b
(sqrt (- (* z z) (* t a)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
188×times-frac
85×add-sqr-sqrt
82×add-cube-cbrt *-un-lft-identity
57×sqrt-prod
54×add-exp-log cbrt-prod
45×associate-*r*
40×associate-/r* add-cbrt-cube
19×prod-exp cbrt-unprod
18×cbrt-undiv div-exp
pow1
add-log-exp
div-inv
associate-*l*
flip3-- sqrt-div associate-/r/ flip--
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log associate-*r/ pow-prod-down clear-num *-commutative associate-/l* unswap-sqr
Counts
4 → 204
Calls
4 calls:
25.0ms
(* x (/ (* y (* (cbrt z) (cbrt z))) (/ (sqrt (- (* z z) (* t a))) (cbrt z))))
3.0ms
(- (* z z) (* t a))
15.0ms
(/ (* y (* (cbrt z) (cbrt z))) (/ (sqrt (- (* z z) (* t a))) (cbrt z)))
4.0ms
(sqrt (- (* z z) (* t a)))

series76.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* x (/ (* y (* (cbrt z) (cbrt z))) (/ (sqrt (- (* z z) (* t a))) (cbrt z))))
7.0ms
(- (* z z) (* t a))
21.0ms
(/ (* y (* (cbrt z) (cbrt z))) (/ (sqrt (- (* z z) (* t a))) (cbrt z)))
12.0ms
(sqrt (- (* z z) (* t a)))

simplify118.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
09002818
146322548
250022445

prune145.0ms

Filtered
216 candidates to 137 candidates (36.6%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2160216
Fresh066
Picked011
Done022
Total2169225

Merged error: 1.9b

Counts
225 → 9

regimes755.0ms

Accuracy

80.4% (3.9b remaining)

Error of 6.8b against oracle of 3.0b and baseline of 22.7b

bsearch71.0ms

Steps
ItersRangePoint
10
5165044110.2207775
1.7307442407338173e+23
1.3390747651094517e+23
10
-1.5324879470505324e+57
-2.5336327888462263e+41
-7.898382149597823e+54

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03015
13615
23615

end0.0ms

sample1.2s

Algorithm
intervals
Results
446.0ms8894×body80valid
141.0ms2953×body80nan

Profiling

Loading profile data...