Details

Time bar (total: 2.7s)

analyze14.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
49.9%49.9%0.1%5
74.9%25%0.1%6
87.4%12.5%0.1%7
93.6%6.2%0.1%8
96.7%3.1%0.1%9
98.3%1.6%0.1%10
99.1%0.8%0.1%11
99.5%0.4%0.1%12
99.7%0.2%0.1%13
99.8%0.1%0.1%14

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02114
12114

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 39.1b

Counts
2 → 1

localize9.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)
36.4b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

rewrite19.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)
6.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series48.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
12.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
30.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049411233
149411233

prune143.0ms

Filtered
62 candidates to 74 candidates (-19.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New67774
Fresh000
Picked101
Done000
Total68775

Merged error: 19.4b

Counts
75 → 7

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (+ (* y y) (* z z)))
0.1b
(* (+ (* x x) (+ (* y y) (* z z))) 0.3333333333333333)
36.4b
(sqrt (* (+ (* x x) (+ (* y y) (* z z))) 0.3333333333333333))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-log-exp
add-sqr-sqrt
add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*l/
flip3-+ associate-*r* associate-*l* sum-log flip-+
sqrt-pow1 sqrt-div pow-prod-down
+-commutative associate-+r+ pow1/2 prod-exp sqrt-prod *-commutative cbrt-unprod unswap-sqr
Counts
3 → 46
Calls
3 calls:
6.0ms
(+ (* x x) (+ (* y y) (* z z)))
8.0ms
(* (+ (* x x) (+ (* y y) (* z z))) 0.3333333333333333)
7.0ms
(sqrt (* (+ (* x x) (+ (* y y) (* z z))) 0.3333333333333333))

series50.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(+ (* x x) (+ (* y y) (* z z)))
13.0ms
(* (+ (* x x) (+ (* y y) (* z z))) 0.3333333333333333)
27.0ms
(sqrt (* (+ (* x x) (+ (* y y) (* z z))) 0.3333333333333333))

simplify46.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05057797

prune81.0ms

Filtered
37 candidates to 55 candidates (-48.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New55055
Fresh066
Picked011
Done000
Total55762

Merged error: 19.4b

Counts
62 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (+ (* y y) (* z z)))
0.2b
(/ (+ (* x x) (+ (* y y) (* z z))) (cbrt 3.0))
0.4b
(* (sqrt (/ 1 (* (cbrt 3.0) (cbrt 3.0)))) (sqrt (/ (+ (* x x) (+ (* y y) (* z z))) (cbrt 3.0))))
36.4b
(sqrt (/ (+ (* x x) (+ (* y y) (* z z))) (cbrt 3.0)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
90×add-sqr-sqrt
75×times-frac sqrt-prod
53×*-un-lft-identity
49×add-cube-cbrt
35×cbrt-prod
25×associate-*r*
16×unswap-sqr
10×associate-*l*
pow1 add-log-exp
add-exp-log
add-cbrt-cube
associate-/r*
sqrt-div
div-inv
rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down sum-log associate-/l*
flip3-+ flip-+ associate-/l/
cbrt-undiv +-commutative frac-times associate-+r+ frac-2neg sqrt-unprod associate-*r/ div-exp associate-*l/ prod-exp clear-num *-commutative cbrt-unprod
Counts
4 → 157
Calls
4 calls:
6.0ms
(+ (* x x) (+ (* y y) (* z z)))
9.0ms
(/ (+ (* x x) (+ (* y y) (* z z))) (cbrt 3.0))
22.0ms
(* (sqrt (/ 1 (* (cbrt 3.0) (cbrt 3.0)))) (sqrt (/ (+ (* x x) (+ (* y y) (* z z))) (cbrt 3.0))))
8.0ms
(sqrt (/ (+ (* x x) (+ (* y y) (* z z))) (cbrt 3.0)))

series112.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (* x x) (+ (* y y) (* z z)))
19.0ms
(/ (+ (* x x) (+ (* y y) (* z z))) (cbrt 3.0))
44.0ms
(* (sqrt (/ 1 (* (cbrt 3.0) (cbrt 3.0)))) (sqrt (/ (+ (* x x) (+ (* y y) (* z z))) (cbrt 3.0))))
39.0ms
(sqrt (/ (+ (* x x) (+ (* y y) (* z z))) (cbrt 3.0)))

simplify70.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049644093
149644093

prune407.0ms

Filtered
132 candidates to 169 candidates (-28.0%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1663169
Fresh055
Picked011
Done011
Total16610176

Merged error: 19.3b

Counts
176 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ (sqrt (+ (* x x) (+ (* y y) (* z z)))) 3.0))
0.4b
(* (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (/ (sqrt (+ (* x x) (+ (* y y) (* z z)))) 3.0)))
36.4b
(sqrt (+ (* x x) (+ (* y y) (* z z))))
36.4b
(sqrt (+ (* x x) (+ (* y y) (* z z))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
102×sqrt-prod
73×add-sqr-sqrt
44×times-frac
36×add-cube-cbrt *-un-lft-identity
25×associate-*r*
16×sqrt-div
12×unswap-sqr
11×pow1
associate-*l*
add-exp-log add-cbrt-cube
rem-sqrt-square sqrt-pow1 pow1/2
flip3-+ flip-+ add-log-exp
pow-prod-down
frac-times associate-*l/ div-inv
sqrt-unprod associate-*r/ prod-exp *-commutative cbrt-unprod
Counts
4 → 130
Calls
4 calls:
9.0ms
(sqrt (/ (sqrt (+ (* x x) (+ (* y y) (* z z)))) 3.0))
21.0ms
(* (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (/ (sqrt (+ (* x x) (+ (* y y) (* z z)))) 3.0)))
5.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))
6.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))

series104.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(sqrt (/ (sqrt (+ (* x x) (+ (* y y) (* z z)))) 3.0))
26.0ms
(* (sqrt (sqrt (+ (* x x) (+ (* y y) (* z z))))) (sqrt (/ (sqrt (+ (* x x) (+ (* y y) (* z z)))) 3.0)))
18.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))
18.0ms
(sqrt (+ (* x x) (+ (* y y) (* z z))))

simplify47.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
054773569

prune155.0ms

Filtered
96 candidates to 142 candidates (-47.9%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1420142
Fresh077
Picked011
Done022
Total14210152

Merged error: 19.3b

Counts
152 → 10

regimes632.0ms

Accuracy

34.7% (12.9b remaining)

Error of 31.6b against oracle of 18.7b and baseline of 38.4b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03036
13036

end0.0ms

sample528.0ms

Algorithm
intervals
Results
364.0ms8000×body80valid

Profiling

Loading profile data...