Details

Time bar (total: 4.3s)

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0157
1227
2247
3247

prune2.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: 36.2b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.1b
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
33.5b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×times-frac
18×add-cube-cbrt *-un-lft-identity
13×sqrt-prod
add-exp-log add-cbrt-cube add-log-exp
pow1
associate-/r* associate-/l*
rem-sqrt-square flip3-+ flip-+ div-inv associate-/l/
cbrt-undiv +-commutative frac-2neg sqrt-pow1 pow1/2 sqrt-div div-exp clear-num sum-log
Counts
3 → 65
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
8.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
5.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series235.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ (* x x) (* y y))
47.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
159.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify116.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0294707
11224644
24405642
35001640

prune186.0ms

Filtered
74 candidates to 60 candidates (81.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New67774
Fresh000
Picked101
Done000
Total68775

Merged error: 17.4b

Counts
75 → 7

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.4b
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
33.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
29×sqrt-prod
16×*-un-lft-identity associate-*r*
14×add-cube-cbrt
13×times-frac
sqrt-div
pow1 unswap-sqr
associate-*l*
add-exp-log add-cbrt-cube add-log-exp
flip3-+ flip-+
sqrt-pow1 pow1/2 pow-prod-down
frac-times associate-*l/
+-commutative rem-sqrt-square sqrt-unprod associate-*r/ prod-exp sum-log *-commutative cbrt-unprod div-inv
Counts
3 → 75
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
13.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series289.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* x x) (* y y))
160.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
100.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify119.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0318858
11226828
24730804
35002796

prune190.0ms

Filtered
84 candidates to 58 candidates (69.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh066
Picked011
Done000
Total84791

Merged error: 17.4b

Counts
91 → 7

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.3b
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
33.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
45×sqrt-prod
36×times-frac
33×add-sqr-sqrt
32×add-cube-cbrt *-un-lft-identity
associate-/r* associate-/l*
add-exp-log add-cbrt-cube add-log-exp
pow1 sqrt-div
flip3-+ flip-+
associate-/l/
cbrt-undiv +-commutative rem-sqrt-square sqrt-undiv frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log div-inv
Counts
3 → 89
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
9.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series353.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* x x) (* y y))
226.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
100.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify100.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02941188
110831124
240831101
350011101

prune189.0ms

Filtered
98 candidates to 62 candidates (63.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New94498
Fresh145
Picked011
Done011
Total9510105

Merged error: 17.3b

Counts
105 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (sqrt (sqrt (+ (+ (* x x) (* y y)) (* z z)))) (* (cbrt (sqrt 3.0)) (cbrt (sqrt 3.0))))
1.0b
(* (cbrt (sqrt 3.0)) (cbrt (sqrt 3.0)))
33.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
33.4b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
44×sqrt-prod
40×cbrt-prod
24×add-cube-cbrt *-un-lft-identity
13×pow1
11×add-exp-log swap-sqr
times-frac associate-*r* associate-*l* associate-/l* unswap-sqr
sqrt-div
add-cbrt-cube
pow1/3
add-log-exp
flip3-+ flip-+
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down prod-exp pow-sqr pow-prod-up cbrt-unprod associate-/l/
pow2 frac-2neg pow-plus clear-num associate-/r* *-commutative div-inv
Counts
4 → 121
Calls
4 calls:
13.0ms
(/ (sqrt (sqrt (+ (+ (* x x) (* y y)) (* z z)))) (* (cbrt (sqrt 3.0)) (cbrt (sqrt 3.0))))
7.0ms
(* (cbrt (sqrt 3.0)) (cbrt (sqrt 3.0)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series820.0ms

Counts
4 → 10
Calls
4 calls:
620.0ms
(/ (sqrt (sqrt (+ (+ (* x x) (* y y)) (* z z)))) (* (cbrt (sqrt 3.0)) (cbrt (sqrt 3.0))))
0.0ms
(* (cbrt (sqrt 3.0)) (cbrt (sqrt 3.0)))
99.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
101.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify50.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03261389
113091283
250011238

prune365.0ms

Filtered
131 candidates to 86 candidates (65.6%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1310131
Fresh077
Picked011
Done022
Total13110141

Merged error: 17.3b

Counts
141 → 10

regimes567.0ms

Accuracy

60% (7.7b remaining)

Error of 26.6b against oracle of 18.9b and baseline of 38.2b

bsearch54.0ms

Steps
ItersRangePoint
6
1.6006938423459802e+44
1.2467605670924074e+45
1.2302990277777622e+45
6
-2.4019015718107501e+145
-5.684541088404978e+144
-5.9409360080047396e+144

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03514
13714
23714

end0.0ms

sample527.0ms

Algorithm
intervals
Results
357.0ms8000×body80valid