Details

Time bar (total: 6.1s)

sample47.0ms

Algorithm
intervals
Results
10.0ms518×pre80true
9.0ms147×body160valid
8.0ms262×body80nan
4.0ms109×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.5b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
14×add-exp-log add-cbrt-cube
10×add-log-exp
pow1
add-sqr-sqrt add-cube-cbrt
distribute-lft-out
times-frac associate-/l*
prod-exp cbrt-unprod
distribute-rgt-neg-in associate-*r* pow-prod-down
cbrt-undiv neg-sub0 associate-+l- flip3-+ div-exp sum-log flip-+ associate-/l/
+-commutative sub-neg flip3-- frac-2neg diff-log div-sub associate-*l* neg-log clear-num associate-/r* *-commutative flip-- div-inv
Counts
4 → 73
Calls
4 calls:
6.0ms
(* (* 3.0 a) c)
2.0ms
(- (* b b) (* (* 3.0 a) c))
34.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
14.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series251.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
47.0ms
(- (* b b) (* (* 3.0 a) c))
104.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify56.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0419716
11930613
25002608

prune186.0ms

Filtered
85 candidates to 59 candidates (69.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.5b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite365.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
79×add-sqr-sqrt *-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
23×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
10×distribute-rgt-neg-in sqrt-prod
pow1
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
prod-exp cbrt-unprod
flip3-- flip-- div-inv
div-sub associate-*l* pow-prod-down associate-/l/
associate-+l- frac-2neg clear-num
sub-neg flip3-+ diff-log associate-*r* *-commutative flip-+
Counts
4 → 153
Calls
4 calls:
2.0ms
(- (* b b) (* (* 3.0 a) c))
6.0ms
(* 3.0 (* a c))
166.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
184.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series366.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* 3.0 (* a c))
168.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
129.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify110.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07013126
131882612
250032569

prune464.0ms

Filtered
165 candidates to 104 candidates (63.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite365.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
79×add-sqr-sqrt *-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
23×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
10×distribute-rgt-neg-in sqrt-prod
pow1
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
prod-exp cbrt-unprod
flip3-- flip-- div-inv
div-sub associate-*r* pow-prod-down associate-/l/
associate-+l- frac-2neg clear-num
sub-neg flip3-+ diff-log associate-*l* *-commutative flip-+
Counts
4 → 153
Calls
4 calls:
6.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
167.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
182.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series365.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
44.0ms
(- (* b b) (* (* 3.0 a) c))
169.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
132.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify121.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
06833127
134712604
250022570

prune439.0ms

Filtered
165 candidates to 104 candidates (63.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* b b) (* (* 3.0 a) c))
0.3b
(/ 1 (* 3.0 a))
0.3b
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(* (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))

rewrite420.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
62×add-exp-log
59×*-un-lft-identity
49×times-frac
32×add-cbrt-cube
31×add-cube-cbrt
27×associate-*l*
23×prod-exp
20×div-exp
14×distribute-lft-out-- difference-of-squares
10×cbrt-undiv
pow1 cbrt-unprod
associate-/r*
distribute-rgt-neg-in associate-*r* sqrt-prod
rec-exp 1-exp associate-/l* add-log-exp
associate-/r/ div-inv
flip3-- flip--
pow-flip frac-2neg pow-prod-down clear-num associate-/l/ unswap-sqr
frac-times associate-+l- sub-neg flip3-+ diff-log div-sub associate-*r/ associate-*l/ un-div-inv *-commutative flip-+ inv-pow
Counts
4 → 157
Calls
4 calls:
2.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(/ 1 (* 3.0 a))
166.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
240.0ms
(* (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))

series352.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(/ 1 (* 3.0 a))
165.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
128.0ms
(* (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))

simplify130.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
07432775
138702226
250022146

prune404.0ms

Filtered
169 candidates to 103 candidates (60.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

regimes197.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02517
12517

end0.0ms

sample1.3s

Algorithm
intervals
Results
310.0ms16399×pre80true
285.0ms4480×body160valid
259.0ms8399×body80nan
114.0ms3520×body80valid