Details

Time bar (total: 6.2s)

sample47.0ms

Algorithm
intervals
Results
9.0ms149×body160valid
8.0ms512×pre80true
7.0ms256×body80nan
3.0ms107×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: 30.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite111.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:
7.0ms
(- (* b b) (* (* 3.0 a) c))
16.0ms
(* (* 3.0 a) c)
63.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
23.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series233.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* b b) (* (* 3.0 a) c))
18.0ms
(* (* 3.0 a) c)
97.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
72.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify53.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0419716
11930613
25002608

prune170.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite568.0ms

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

series357.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
18.0ms
(* 3.0 (* a c))
147.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
119.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify103.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06643240
128682713
250012670

prune440.0ms

Pruning

12 alts after pruning (12 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) (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)))))
0.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite573.0ms

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

series356.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (* 3.0 a) c)
73.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
151.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
114.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify112.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
06543241
132072705
250022671

prune417.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite357.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log add-cbrt-cube
16×add-sqr-sqrt *-un-lft-identity
14×pow1
10×associate-*r*
prod-exp cbrt-unprod
add-cube-cbrt add-log-exp
pow-prod-down
associate-*r/ distribute-lft-out-- difference-of-squares
cbrt-undiv sub-neg flip3-- times-frac div-exp flip-- associate-/l*
distribute-rgt-in distribute-rgt-neg-in distribute-lft-in diff-log associate-*l* sqrt-prod associate-/r/ *-commutative associate-/l/
associate--l- neg-sub0 associate-+l- frac-2neg flip3-+ div-sub neg-log clear-num associate-/r* flip-+ div-inv
Counts
4 → 92
Calls
4 calls:
16.0ms
(* (* 3.0 a) c)
22.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
246.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
70.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

series306.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (* 3.0 a) c)
72.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
116.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
100.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

simplify99.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
05231275
12893988
25001964

prune240.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

regimes182.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
02116
12116

end0.0ms

sample1.4s

Algorithm
intervals
Results
277.0ms4415×body160valid
265.0ms16389×pre80true
256.0ms8389×body80nan
114.0ms3585×body80valid