Details

Time bar (total: 29.9s)

sample136.0ms

Algorithm
intervals
Results
26.0ms196×body80valid
21.0ms26×body2560valid
18.0ms26×body1280valid
11.0ms96×body80nan
9.0ms16×body640valid
6.0msbody5120valid
2.0msbody320valid
1.0msbody160valid

simplify153.0ms

Counts
1 → 1
Iterations
IterNodes
8142
7142
6140
5135
4130
3110
263
129
014

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 29.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a))
1.2b
(- (* b b) (* 4 (* a c)))
1.4b
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
19.8b
(sqrt (- (* b b) (* 4 (* a c))))

rewrite159.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-cbrt-cube add-exp-log
neg-mul-1 times-frac associate-/l*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- log1p-expm1-u flip--
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square clear-num associate-/r* frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp cbrt-unprod div-inv
Counts
4 → 157
Calls
4 calls:
84.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a))
16.0ms
(- (* b b) (* 4 (* a c)))
34.0ms
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
22.0ms
(sqrt (- (* b b) (* 4 (* a c))))

series391.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a))
53.0ms
(- (* b b) (* 4 (* a c)))
124.0ms
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
90.0ms
(sqrt (- (* b b) (* 4 (* a c))))

simplify4.8s

Counts
169 → 169
Iterations
IterNodes
36436
21646
1590
0235

prune2.4s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 4.6b

localize53.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (/ 1/2 a))
1.2b
(- (* b b) (* 4 (* a c)))
1.4b
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
19.8b
(sqrt (- (* b b) (* 4 (* a c))))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
68×add-sqr-sqrt
62×*-un-lft-identity
61×prod-diff
54×add-cube-cbrt
35×sqrt-prod
23×distribute-rgt-neg-in
21×distribute-lft-neg-in
13×associate-*r*
11×fma-neg
10×times-frac add-log-exp
add-cbrt-cube add-exp-log
pow1 neg-mul-1 associate-*l*
flip3-- flip--
expm1-log1p-u log1p-expm1-u distribute-lft-out-- difference-of-squares
diff-log
frac-times sub-neg sqrt-div associate-*l/ prod-exp cbrt-unprod unswap-sqr
associate--l- neg-sub0 cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down neg-log associate-*r/ *-commutative div-inv
Counts
4 → 165
Calls
4 calls:
78.0ms
(* (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (/ 1/2 a))
9.0ms
(- (* b b) (* 4 (* a c)))
19.0ms
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
18.0ms
(sqrt (- (* b b) (* 4 (* a c))))

series416.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (/ 1/2 a))
55.0ms
(- (* b b) (* 4 (* a c)))
138.0ms
(- (- b) (sqrt (- (* b b) (* 4 (* a c)))))
97.0ms
(sqrt (- (* b b) (* 4 (* a c))))

simplify3.8s

Counts
177 → 177
Iterations
IterNodes
35805
21778
1639
0258

prune2.5s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 4.6b

localize32.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (- b) (sqrt (fma b b (* a (* c -4))))) (/ 1/2 a))
1.4b
(- (- b) (sqrt (fma b b (* a (* c -4)))))
1.5b
(fma b b (* a (* c -4)))
19.8b
(sqrt (fma b b (* a (* c -4))))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
68×add-sqr-sqrt
62×*-un-lft-identity
60×prod-diff
54×add-cube-cbrt
35×sqrt-prod
23×distribute-rgt-neg-in
21×distribute-lft-neg-in
13×associate-*r*
10×times-frac fma-neg
add-cbrt-cube add-exp-log
add-log-exp
pow1 neg-mul-1 associate-*l*
expm1-log1p-u log1p-expm1-u distribute-lft-out-- difference-of-squares
flip3-- flip--
frac-times diff-log associate-*l/ prod-exp cbrt-unprod unswap-sqr
associate--l- neg-sub0 cbrt-undiv rem-sqrt-square sub-neg sqrt-pow1 pow1/2 div-exp pow-prod-down neg-log associate-*r/ *-commutative fma-udef div-inv
Counts
4 → 157
Calls
4 calls:
38.0ms
(* (- (- b) (sqrt (fma b b (* a (* c -4))))) (/ 1/2 a))
17.0ms
(- (- b) (sqrt (fma b b (* a (* c -4)))))
0.0ms
(fma b b (* a (* c -4)))
1.0ms
(sqrt (fma b b (* a (* c -4))))

series443.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(* (- (- b) (sqrt (fma b b (* a (* c -4))))) (/ 1/2 a))
123.0ms
(- (- b) (sqrt (fma b b (* a (* c -4)))))
75.0ms
(fma b b (* a (* c -4)))
90.0ms
(sqrt (fma b b (* a (* c -4))))

simplify2.9s

Counts
169 → 169
Iterations
IterNodes
34337
21520
1560
0238

prune2.2s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 4.6b

localize34.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (/ 2 (- (+ b (sqrt (fma b b (* -4 (* a c))))))) a))
1.4b
(+ b (sqrt (fma b b (* -4 (* a c)))))
1.5b
(fma b b (* -4 (* a c)))
19.8b
(sqrt (fma b b (* -4 (* a c))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
13×add-cbrt-cube
10×*-un-lft-identity
add-sqr-sqrt div-exp
pow1 add-cube-cbrt
prod-exp add-log-exp
expm1-log1p-u cbrt-undiv log1p-expm1-u
rec-exp fma-def times-frac 1-exp sqrt-prod associate-/l*
cbrt-unprod pow-flip
+-commutative rem-sqrt-square clear-num associate-/r* sum-log frac-2neg sqrt-pow1 flip3-+ pow1/2 pow-prod-down associate-*l/ associate-/r/ flip-+ fma-udef div-inv distribute-lft-out inv-pow
Counts
4 → 77
Calls
4 calls:
28.0ms
(/ 1 (* (/ 2 (- (+ b (sqrt (fma b b (* -4 (* a c))))))) a))
9.0ms
(+ b (sqrt (fma b b (* -4 (* a c)))))
0.0ms
(fma b b (* -4 (* a c)))
1.0ms
(sqrt (fma b b (* -4 (* a c))))

series442.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(/ 1 (* (/ 2 (- (+ b (sqrt (fma b b (* -4 (* a c))))))) a))
110.0ms
(+ b (sqrt (fma b b (* -4 (* a c)))))
63.0ms
(fma b b (* -4 (* a c)))
117.0ms
(sqrt (fma b b (* -4 (* a c))))

simplify2.1s

Counts
89 → 89
Iterations
IterNodes
34127
21138
1360
0148

prune1.1s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.6b

regimes438.0ms

Accuracy

84.8% (4.3b remaining)

Error of 9.8b against oracle of 5.5b and baseline of 33.5b

bsearch201.0ms

Steps
ItersRangePoint
9
1.5347927881719531e+137
5.414027326126016e+143
6.359263193477048e+137
7
-3.433369562555282e-53
-1.9970851824949347e-54
-2.852138444177435e-54

simplify13.0ms

Iterations
IterNodes
335
235
134
026

end0.0ms

sample4.9s

Algorithm
intervals
Results
1.3s1055×body2560valid
926.0ms960×body1280valid
917.0ms5848×body80valid
673.0ms461×body640valid
404.0ms2886×body80nan
188.0ms107×body5120valid
78.0ms197×body320valid
29.0ms110×body160valid