Details

Time bar (total: 5.1s)

sample54.0ms

Algorithm
intervals
Results
12.0ms287×body80nan
10.0ms543×pre80true
9.0ms142×body160valid
4.0ms114×body80valid

simplify12.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: 26.6b

localize10.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
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
26.6b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite29.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))
5.0ms
(* (* 3.0 a) c)
11.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series257.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0419716
11930613
25002608

prune182.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.4b

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) (* (* 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))))) (* 3.0 a))

rewrite70.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:
5.0ms
(* (* 3.0 a) c)
25.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
5.0ms
(* 3.0 (* a c))
28.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series338.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
167.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
19.0ms
(* 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))

simplify251.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
06843100
133072567
250012533

prune439.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 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.3b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite72.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
associate-*r* pow-prod-down associate-/r/
div-inv add-log-exp
flip3-- div-sub flip-- associate-/l/
associate-+l- frac-2neg associate-*l* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 159
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
5.0ms
(* (* 3.0 a) c)
27.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
28.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series336.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
24.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)))))
127.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify106.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06273101
131392568
250012534

prune398.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
162×times-frac
137×add-sqr-sqrt
122×*-un-lft-identity
117×add-exp-log
77×add-cbrt-cube
60×add-cube-cbrt
56×associate-*r*
48×div-exp
41×prod-exp
30×distribute-lft-out-- difference-of-squares
29×cbrt-undiv
25×cbrt-unprod
19×div-inv
16×associate-*l*
15×distribute-rgt-neg-in sqrt-prod
11×pow1
10×associate-/r*
associate-/l*
unswap-sqr
rec-exp 1-exp
pow-prod-down associate-/r/ add-log-exp
flip3-- frac-2neg clear-num *-commutative flip--
frac-times associate-*r/ associate-*l/ associate-/l/
Counts
4 → 241
Calls
4 calls:
6.0ms
(/ (* 3.0 (* a c)) a)
5.0ms
(* 3.0 (* a c))
15.0ms
(/ (/ (* 3.0 (* a c)) a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
35.0ms
(* (/ 1 3.0) (/ (/ (* 3.0 (* a c)) a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

series335.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ (* 3.0 (* a c)) a)
23.0ms
(* 3.0 (* a c))
147.0ms
(/ (/ (* 3.0 (* a c)) a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
155.0ms
(* (/ 1 3.0) (/ (/ (* 3.0 (* a c)) a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

simplify54.0ms

Algorithm
egg-herbie
Counts
253 → 253
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09813667
150013082

prune500.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes176.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02412
12612
22612

end0.0ms

sample1.3s

Algorithm
intervals
Results
313.0ms16529×pre80true
292.0ms4473×body160valid
261.0ms8529×body80nan
114.0ms3527×body80valid