Details

Time bar (total: 6.4s)

sample51.0ms

Algorithm
intervals
Results
10.0ms149×body160valid
10.0ms509×pre80true
8.0ms253×body80nan
4.0ms44×body320valid
2.0ms63×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.5b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.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:
3.0ms
(- (* b b) (* (* 3.0 a) c))
7.0ms
(* (* 3.0 a) c)
35.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series256.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0419716
11930613
25002608

prune183.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 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))

rewrite382.0ms

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

series343.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
27.0ms
(* 3.0 (* a c))
165.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))

simplify109.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
06843100
133072567
250012533

prune625.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
55×add-exp-log add-cbrt-cube
27×prod-exp cbrt-unprod
19×pow1
11×add-sqr-sqrt *-un-lft-identity associate-*r*
cbrt-undiv div-exp pow-prod-down
add-cube-cbrt
associate-*l*
associate-*r/ add-log-exp
*-commutative
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip-- associate-/l/ distribute-lft-out-- difference-of-squares
distribute-rgt-neg-in frac-2neg times-frac clear-num associate-/r* sqrt-prod div-inv associate-/l*
Counts
4 → 97
Calls
4 calls:
7.0ms
(* (* 3.0 a) c)
39.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
6.0ms
(* 3.0 (* a c))
24.0ms
(/ (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 (* a c)))

series264.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
106.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
19.0ms
(* 3.0 (* a c))
119.0ms
(/ (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 (* a c)))

simplify103.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05141160
13684822
25001822

prune216.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite420.0ms

Algorithm
rewrite-expression-head
Rules
136×pow1
90×times-frac
85×add-sqr-sqrt
83×*-un-lft-identity
74×pow-prod-down
60×sqrt-pow1
43×add-cube-cbrt
30×associate-/l*
25×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
17×pow-prod-up
14×sqrt-prod
12×pow1/2
11×pow-sqr
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp associate-*l*
prod-exp associate-/r/ cbrt-unprod
associate-*r*
swap-sqr div-inv add-log-exp
flip3-- div-sub flip-- associate-/l/
associate-+l- frac-2neg clear-num *-commutative
pow2 flip3-+ pow-plus sqrt-unprod rem-square-sqrt flip-+ unswap-sqr
Counts
4 → 207
Calls
4 calls:
6.0ms
(* 3.0 (* a c))
173.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (sqrt (* (* 3.0 a) c)) (sqrt (* (* 3.0 a) c)))))))
191.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (sqrt (* (* 3.0 a) c)) (sqrt (* (* 3.0 a) c))))))) (* 3.0 a))
39.0ms
(* (sqrt (* (* 3.0 a) c)) (sqrt (* (* 3.0 a) c)))

series957.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* 3.0 (* a c))
449.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (sqrt (* (* 3.0 a) c)) (sqrt (* (* 3.0 a) c)))))))
410.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (sqrt (* (* 3.0 a) c)) (sqrt (* (* 3.0 a) c))))))) (* 3.0 a))
78.0ms
(* (sqrt (* (* 3.0 a) c)) (sqrt (* (* 3.0 a) c)))

simplify144.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (112.0ms)

IterNodesCost
07334135
138803493
250033445

prune480.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

regimes116.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02413
12413

end0.0ms

sample1.4s

Algorithm
intervals
Results
322.0ms4856×body160valid
301.0ms16232×pre80true
267.0ms8232×body80nan
137.0ms1383×body320valid
61.0ms1761×body80valid