Details

Time bar (total: 3.6s)

analyze275.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14

sample45.0ms

Algorithm
intervals
Results
15.0ms150×body160valid
8.0ms284×pre80true
6.0ms42×body320valid
3.0ms64×body80valid
1.0ms28×body80nan

simplify199.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (196.0ms)

IterNodesCost
0178416
1178416

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 42.7b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* 3.0 (* a c)))
0.3b
(* 3.0 (* a c))
0.3b
(/ (- (sqrt (- (* b b) (* 3.0 (* a c)))) b) (* 3.0 a))
38.0b
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
14×add-exp-log add-cbrt-cube
13×*-un-lft-identity
pow1
add-log-exp
add-cube-cbrt
times-frac associate-/l* difference-of-squares
prod-exp cbrt-unprod
flip3-- associate-*l* pow-prod-down sqrt-prod flip-- distribute-lft-out--
cbrt-undiv sub-neg diff-log div-exp associate-/l/
frac-2neg div-sub associate-*r* clear-num associate-/r* *-commutative div-inv
Counts
4 → 73
Calls
4 calls:
4.0ms
(- (* b b) (* 3.0 (* a c)))
5.0ms
(* 3.0 (* a c))
11.0ms
(/ (- (sqrt (- (* b b) (* 3.0 (* a c)))) b) (* 3.0 a))
7.0ms
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)

series56.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* 3.0 (* a c)))
3.0ms
(* 3.0 (* a c))
28.0ms
(/ (- (sqrt (- (* b b) (* 3.0 (* a c)))) b) (* 3.0 a))
15.0ms
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)

simplify53.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
054611199

prune128.0ms

Filtered
59 candidates to 85 candidates (-44.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New80585
Fresh000
Picked101
Done000
Total81586

Merged error: 0.3b

Counts
86 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 3.0 (* a c))
0.3b
(* 3.0 (* a (neg c)))
0.3b
(/ (* 3.0 (* a (neg c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
0.4b
(/ (/ (* 3.0 (* a (neg c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
55×add-exp-log add-cbrt-cube
22×times-frac
20×*-un-lft-identity
19×prod-exp cbrt-unprod
17×cbrt-undiv div-exp
14×pow1
12×add-sqr-sqrt add-cube-cbrt
11×associate-/l*
associate-*l* pow-prod-down associate-/r/ distribute-rgt-neg-out
associate-/r*
div-inv distribute-lft-out add-log-exp
flip3-+ distribute-frac-neg flip-+
frac-2neg associate-*r* clear-num *-commutative
associate-/l/
Counts
4 → 114
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
5.0ms
(* 3.0 (* a (neg c)))
15.0ms
(/ (* 3.0 (* a (neg c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
15.0ms
(/ (/ (* 3.0 (* a (neg c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

series109.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 3.0 (* a c))
3.0ms
(* 3.0 (* a (neg c)))
58.0ms
(/ (* 3.0 (* a (neg c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
44.0ms
(/ (/ (* 3.0 (* a (neg c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

simplify58.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049831982
149831982

prune192.0ms

Filtered
76 candidates to 126 candidates (-65.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1179126
Fresh314
Picked101
Done000
Total12110131

Merged error: 0b

Counts
131 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) (neg c))
0.3b
(* 3.0 (* a c))
0.3b
(/ (* (* 3.0 a) (neg c)) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
0.4b
(/ (/ (* (* 3.0 a) (neg c)) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
55×add-exp-log add-cbrt-cube
22×*-un-lft-identity times-frac
19×prod-exp cbrt-unprod
17×cbrt-undiv div-exp
14×pow1 add-sqr-sqrt add-cube-cbrt
11×associate-*r* associate-/l*
pow-prod-down associate-/r/
associate-/r*
associate-*l* div-inv distribute-lft-out add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in flip3-+ distribute-frac-neg distribute-rgt-neg-out flip-+
frac-2neg clear-num *-commutative
neg-mul-1 associate-/l/
Counts
4 → 121
Calls
4 calls:
6.0ms
(* (* 3.0 a) (neg c))
5.0ms
(* 3.0 (* a c))
12.0ms
(/ (* (* 3.0 a) (neg c)) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
14.0ms
(/ (/ (* (* 3.0 a) (neg c)) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

series114.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (* 3.0 a) (neg c))
4.0ms
(* 3.0 (* a c))
59.0ms
(/ (* (* 3.0 a) (neg c)) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
47.0ms
(/ (/ (* (* 3.0 a) (neg c)) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

simplify66.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049881987
149881987

prune190.0ms

Filtered
80 candidates to 133 candidates (-66.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1294133
Fresh459
Picked011
Done000
Total13310143

Merged error: 0b

Counts
143 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* a (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
0.2b
(* a (/ (neg c) (* a (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))))
0.2b
(/ (neg c) (* a (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))))
0.3b
(* 3.0 (* a c))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
22×add-sqr-sqrt
21×associate-*r*
20×*-un-lft-identity times-frac
18×add-cube-cbrt
13×pow1
10×associate-/l*
distribute-lft-neg-in distribute-rgt-neg-in associate-*l* prod-exp cbrt-unprod
associate-*r/
pow-prod-down
cbrt-undiv div-exp associate-/r/ add-log-exp
neg-mul-1 flip3-+ *-commutative flip-+
distribute-frac-neg div-inv unswap-sqr
neg-sub0 distribute-rgt-in frac-2neg distribute-lft-in div-sub clear-num associate-/r* distribute-rgt-neg-out distribute-lft-out
Counts
4 → 117
Calls
4 calls:
9.0ms
(* a (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
14.0ms
(* a (/ (neg c) (* a (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))))
13.0ms
(/ (neg c) (* a (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))))
5.0ms
(* 3.0 (* a c))

series132.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* a (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))
42.0ms
(* a (/ (neg c) (* a (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))))
60.0ms
(/ (neg c) (* a (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))))
4.0ms
(* 3.0 (* a c))

simplify71.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049531723
149531723

prune155.0ms

Filtered
90 candidates to 129 candidates (-43.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1263129
Fresh448
Picked101
Done011
Total1318139

Merged error: 0b

Counts
139 → 8

regimes196.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09523
19523

end0.0ms

sample1.3s

Algorithm
intervals
Results
471.0ms4845×body160valid
262.0ms8951×pre80true
195.0ms1376×body320valid
97.0ms1779×body80valid
47.0ms951×body80nan

Profiling

Loading profile data...