Details

Time bar (total: 4.5s)

sample41.0ms

Algorithm
intervals
Results
8.0ms201×body80valid
7.0ms21×body2560valid
6.0ms31×body1280valid
4.0ms103×body80nan
2.0ms13×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
1.0b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.2b
(- (* b b) (* (* 4.0 a) c))
19.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite55.0ms

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

series285.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
75.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
45.0ms
(- (* b b) (* (* 4.0 a) c))
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0405779
11563685
25001674

prune215.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.4b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
1.0b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.2b
(- (* b b) (* (* 4.0 a) c))
19.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
53×times-frac
45×*-un-lft-identity
26×add-sqr-sqrt
25×add-exp-log add-cube-cbrt
13×add-cbrt-cube
12×div-exp
11×associate-/r*
10×distribute-lft-out add-log-exp
associate-/r/
pow1
cbrt-undiv distribute-rgt-neg-in flip3-+ flip-+ div-inv
rec-exp 1-exp prod-exp sqrt-prod associate-/l*
flip3-- sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 diff-log neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 114
Calls
4 calls:
26.0ms
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series329.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(/ 1 (/ (* 2.0 a) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
73.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
46.0ms
(- (* b b) (* (* 4.0 a) c))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify77.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05251588
125701375
250011308

prune257.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.4b

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.2b
(- (* b b) (* (* 4.0 a) c))
3.4b
(exp (log (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
19.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt
pow1
log-prod exp-sum
add-exp-log exp-prod add-cbrt-cube distribute-lft-out
sqrt-prod
log-div flip3-- distribute-rgt-neg-in flip3-+ exp-diff sqrt-div sum-log flip-- flip-+
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log neg-log log-pow rem-exp-log
Counts
4 → 61
Calls
4 calls:
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.0ms
(- (* b b) (* (* 4.0 a) c))
11.0ms
(exp (log (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series270.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
46.0ms
(- (* b b) (* (* 4.0 a) c))
78.0ms
(exp (log (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify119.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0273626
1998574
24085537
35001528

prune213.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 4.4b

localize23.0ms

Local error

Found 4 expressions with local error:

2.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
13.0b
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (* 2.0 a))
14.8b
(- (pow b 2) (pow b 2))
19.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite203.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
23×*-un-lft-identity
22×unpow-prod-down
18×difference-of-squares
15×add-cube-cbrt
12×unpow2 sqr-pow
10×distribute-rgt-out-- distribute-lft-out-- add-log-exp
add-exp-log add-cbrt-cube
pow1
sqrt-prod
flip3-- times-frac diff-log flip-- associate-/l*
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 associate-+l- rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 flip3-+ pow1/2 +-inverses div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod flip-+ div-inv
Counts
4 → 104
Calls
4 calls:
12.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
173.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (* 2.0 a))
11.0ms
(- (pow b 2) (pow b 2))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series160.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
12.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (* 2.0 a))
1.0ms
(- (pow b 2) (pow b 2))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify162.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (151.0ms)

IterNodesCost
0516756
13101606
25001569

prune306.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 4.4b

regimes204.0ms

Accuracy

96.4% (1.0b remaining)

Error of 6.5b against oracle of 5.5b and baseline of 34.1b

bsearch192.0ms

Steps
ItersRangePoint
8
4.989131466200188e+139
3.737025446948691e+142
3.256101961139753e+141
9
3.1425740402568386e-306
5.4379290726615864e-300
3.2001964328628576e-306
10
-1.5405955983178716e+163
-1.402598515452623e+153
-2.3044033969831823e+153

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04024
14024

end0.0ms

sample1.2s

Algorithm
intervals
Results
253.0ms1101×body2560valid
234.0ms5850×body80valid
173.0ms921×body1280valid
112.0ms2888×body80nan
65.0ms450×body640valid
31.0ms103×body5120valid
25.0ms228×body320valid
9.0ms121×body160valid