Details

Time bar (total: 3.2s)

analyze267.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

sample39.0ms

Algorithm
intervals
Results
15.0ms152×body160valid
8.0ms274×pre80true
5.0ms104×body80valid
1.0ms18×body80nan

simplify183.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (182.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: 29.2b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* 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))
29.1b
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)

rewrite28.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))
10.0ms
(/ (- (sqrt (- (* b b) (* 3.0 (* a c)))) b) (* 3.0 a))
7.0ms
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)

series57.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))
16.0ms
(- (sqrt (- (* b b) (* 3.0 (* a c)))) b)

simplify47.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
054611199

prune131.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.5b

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)))))) (* 3.0 a))
0.4b
(/ (* 3.0 (* a (neg c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))

rewrite40.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))
7.0ms
(* 3.0 (* a (neg c)))
13.0ms
(/ (/ (* 3.0 (* a (neg c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))
11.0ms
(/ (* 3.0 (* a (neg c))) (+ b (sqrt (- (* b b) (* 3.0 (* a c))))))

series107.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049831982
149831982

prune197.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1188126
Fresh404
Picked101
Done000
Total1238131

Merged error: 0b

Counts
131 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
23×add-exp-log add-sqr-sqrt add-cbrt-cube
21×associate-*l*
18×add-cube-cbrt
16×times-frac
11×pow1 associate-*r*
prod-exp cbrt-unprod
add-log-exp
cbrt-undiv div-exp
pow-prod-down
distribute-lft-neg-in distribute-rgt-neg-in associate-/r* distribute-lft-out
associate-*l/ associate-/r/ *-commutative distribute-rgt-neg-out div-inv unswap-sqr
neg-mul-1 sub-neg flip3-- frac-2neg flip3-+ diff-log distribute-frac-neg clear-num flip-- flip-+ associate-/l/ associate-/l*
Counts
4 → 99
Calls
4 calls:
4.0ms
(- (* b b) (* 3.0 (* a c)))
11.0ms
(/ (* (/ a (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (neg c)) a)
14.0ms
(* (/ a (+ b (sqrt (- (* b b) (* 3.0 (* a c)))))) (neg c))
5.0ms
(* 3.0 (* a c))

series112.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
051241611

prune172.0ms

Filtered
81 candidates to 111 candidates (-37.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1092111
Fresh257
Picked011
Done000
Total1118119

Merged error: 0b

Counts
119 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

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

series75.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049251187
149251187

prune112.0ms

Filtered
61 candidates to 86 candidates (-41.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New85186
Fresh156
Picked011
Done011
Total86894

Merged error: 0b

Counts
94 → 8

regimes209.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06315
16315

end0.0ms

sample1.1s

Algorithm
intervals
Results
460.0ms4528×body160valid
254.0ms8967×pre80true
186.0ms3472×body80valid
50.0ms967×body80nan

Profiling

Loading profile data...