Details

Time bar (total: 54.0s)

sample150.0ms

Algorithm
intervals
Results
41.0ms252×body80nan
39.0ms141×body160valid
29.0ms508×pre80true
15.0ms115×body80valid

simplify148.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
148.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a))

prune25.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 29.6b

localize23.0ms

Local error

Found 4 expressions with local error:

29.5b
(- (sqrt (fma c (* -4 a) (* b b))) b)
0.3b
(fma c (* -4 a) (* b b))
0.2b
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
0.1b
(sqrt (fma c (* -4 a) (* b b)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
135×add-sqr-sqrt
108×*-un-lft-identity
82×add-cube-cbrt
28×sqrt-prod
26×difference-of-squares
22×associate-/l*
18×prod-diff
13×distribute-lft-out--
add-cbrt-cube add-exp-log
fma-neg add-log-exp
pow1 div-inv
expm1-log1p-u insert-posit16 log1p-expm1-u
cbrt-undiv associate-/r* div-exp
div-sub
rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 flip3-- pow1/2 diff-log fma-udef flip-- associate-/l/
Counts
4 → 179
Calls
4 calls:
Slowest
16.0ms
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
8.0ms
(- (sqrt (fma c (* -4 a) (* b b))) b)
1.0ms
(sqrt (fma c (* -4 a) (* b b)))
0.0ms
(fma c (* -4 a) (* b b))

series350.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
108.0ms
(sqrt (fma c (* -4 a) (* b b)))
105.0ms
(- (sqrt (fma c (* -4 a) (* b b))) b)
82.0ms
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
55.0ms
(fma c (* -4 a) (* b b))

simplify14.3s

Counts
225 → 191
Calls
225 calls:
Slowest
451.0ms
(/ (/ (* (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b)) (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b))) (* (cbrt 2) (cbrt 2))) (* (cbrt a) (cbrt a)))
225.0ms
(/ (/ (* (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b)) (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b))) (sqrt 2)) (* (cbrt a) (cbrt a)))
202.0ms
(/ (/ (* (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b)) (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b))) (* (cbrt 2) (cbrt 2))) (sqrt a))
201.0ms
(/ (* (* (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2)) (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2)) (* (* a a) a))
181.0ms
(/ (/ (* (* (- (sqrt (fma c (* -4 a) (* b b))) b) (- (sqrt (fma c (* -4 a) (* b b))) b)) (- (sqrt (fma c (* -4 a) (* b b))) b)) (* (* 2 2) 2)) (* (* a a) a))

prune2.2s

Pruning

30 alts after pruning (30 fresh and 0 done)

Merged error: 26.9b

localize44.0ms

Local error

Found 4 expressions with local error:

29.5b
(- (sqrt (fma b b (* (* a -4) c))) b)
0.4b
(* (- (sqrt (fma b b (* (* a -4) c))) b) (/ 1/2 a))
0.1b
(sqrt (fma b b (* (* a -4) c)))
0.0b
(fma b b (* (* a -4) c))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
31×*-un-lft-identity
27×add-cube-cbrt
18×prod-diff
17×sqrt-prod
13×associate-*r*
10×times-frac
add-cbrt-cube add-exp-log
pow1
fma-neg associate-*l* add-log-exp
expm1-log1p-u insert-posit16 log1p-expm1-u difference-of-squares
flip3-- flip--
frac-times associate-*l/ prod-exp cbrt-unprod distribute-lft-out-- unswap-sqr
cbrt-undiv rem-sqrt-square sub-neg sqrt-pow1 pow1/2 diff-log div-exp pow-prod-down associate-*r/ *-commutative fma-udef div-inv
Counts
4 → 111
Calls
4 calls:
Slowest
24.0ms
(* (- (sqrt (fma b b (* (* a -4) c))) b) (/ 1/2 a))
8.0ms
(- (sqrt (fma b b (* (* a -4) c))) b)
1.0ms
(sqrt (fma b b (* (* a -4) c)))
0.0ms
(fma b b (* (* a -4) c))

series465.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
164.0ms
(* (- (sqrt (fma b b (* (* a -4) c))) b) (/ 1/2 a))
117.0ms
(sqrt (fma b b (* (* a -4) c)))
115.0ms
(- (sqrt (fma b b (* (* a -4) c))) b)
70.0ms
(fma b b (* (* a -4) c))

simplify5.7s

Counts
96 → 123
Calls
96 calls:
Slowest
518.0ms
(* (- (* (sqrt (fma b b (* (* a -4) c))) (sqrt (fma b b (* (* a -4) c)))) (* b b)) 1/2)
278.0ms
(* (- (pow (sqrt (fma b b (* (* a -4) c))) 3) (pow b 3)) (/ 1/2 a))
260.0ms
(* (+ (* (sqrt (fma b b (* (* a -4) c))) (sqrt (fma b b (* (* a -4) c)))) (+ (* b b) (* (sqrt (fma b b (* (* a -4) c))) b))) a)
237.0ms
(* (* (* (- (sqrt (fma b b (* (* a -4) c))) b) (- (sqrt (fma b b (* (* a -4) c))) b)) (- (sqrt (fma b b (* (* a -4) c))) b)) (/ (* (* 1/2 1/2) 1/2) (* (* a a) a)))
227.0ms
(* (- (pow (sqrt (fma b b (* (* a -4) c))) 3) (pow b 3)) 1/2)

prune1.3s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

localize56.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (* -2 (* a c)) (* (+ (sqrt (fma b b (* (* a -4) c))) b) a))
0.2b
(* (+ (sqrt (fma b b (* (* a -4) c))) b) a)
0.2b
(+ (sqrt (fma b b (* (* a -4) c))) b)
0.1b
(sqrt (fma b b (* (* a -4) c)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
27×add-cbrt-cube add-exp-log
13×*-un-lft-identity
12×add-sqr-sqrt
10×prod-exp cbrt-unprod
add-cube-cbrt
pow1
cbrt-undiv fma-def div-exp sqrt-prod add-log-exp
expm1-log1p-u associate-*l* associate-*l/ insert-posit16 log1p-expm1-u
flip3-+ associate-*r* flip-+
associate-/r/ distribute-lft-out
+-commutative rem-sqrt-square clear-num associate-/r* sum-log frac-2neg sqrt-pow1 times-frac pow1/2 pow-prod-down *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 91
Calls
4 calls:
Slowest
31.0ms
(/ (* -2 (* a c)) (* (+ (sqrt (fma b b (* (* a -4) c))) b) a))
23.0ms
(* (+ (sqrt (fma b b (* (* a -4) c))) b) a)
6.0ms
(+ (sqrt (fma b b (* (* a -4) c))) b)
1.0ms
(sqrt (fma b b (* (* a -4) c)))

series608.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
233.0ms
(/ (* -2 (* a c)) (* (+ (sqrt (fma b b (* (* a -4) c))) b) a))
136.0ms
(* (+ (sqrt (fma b b (* (* a -4) c))) b) a)
134.0ms
(+ (sqrt (fma b b (* (* a -4) c))) b)
104.0ms
(sqrt (fma b b (* (* a -4) c)))

simplify15.2s

Counts
51 → 103
Calls
51 calls:
Slowest
1.9s
(/ (* (* (* -2 (* a c)) (* -2 (* a c))) (* -2 (* a c))) (* (* (* (+ (sqrt (fma b b (* (* a -4) c))) b) a) (* (+ (sqrt (fma b b (* (* a -4) c))) b) a)) (* (+ (sqrt (fma b b (* (* a -4) c))) b) a)))
1.9s
(/ (* (* (* -2 -2) -2) (* (* (* a c) (* a c)) (* a c))) (* (* (* (+ (sqrt (fma b b (* (* a -4) c))) b) a) (* (+ (sqrt (fma b b (* (* a -4) c))) b) a)) (* (+ (sqrt (fma b b (* (* a -4) c))) b) a)))
1.8s
(/ (* (* (* -2 -2) -2) (* (* (* a c) (* a c)) (* a c))) (* (* (* (+ (sqrt (fma b b (* (* a -4) c))) b) (+ (sqrt (fma b b (* (* a -4) c))) b)) (+ (sqrt (fma b b (* (* a -4) c))) b)) (* (* a a) a)))
1.8s
(/ (* (* (* -2 -2) -2) (* (* (* a a) a) (* (* c c) c))) (* (* (* (+ (sqrt (fma b b (* (* a -4) c))) b) a) (* (+ (sqrt (fma b b (* (* a -4) c))) b) a)) (* (+ (sqrt (fma b b (* (* a -4) c))) b) a)))
1.6s
(/ (* (* (* -2 (* a c)) (* -2 (* a c))) (* -2 (* a c))) (* (* (* (+ (sqrt (fma b b (* (* a -4) c))) b) (+ (sqrt (fma b b (* (* a -4) c))) b)) (+ (sqrt (fma b b (* (* a -4) c))) b)) (* (* a a) a)))

prune985.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize43.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ -2 (+ (sqrt (fma b b (* (* a -4) c))) b)) c)
0.2b
(+ (sqrt (fma b b (* (* a -4) c))) b)
0.2b
(/ -2 (+ (sqrt (fma b b (* (* a -4) c))) b))
0.1b
(sqrt (fma b b (* (* a -4) c)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
31×add-sqr-sqrt
25×times-frac add-cube-cbrt
18×associate-*l*
11×add-cbrt-cube add-exp-log
distribute-lft-out
pow1
fma-def sqrt-prod add-log-exp
expm1-log1p-u associate-/r* associate-/r/ insert-posit16 log1p-expm1-u
flip3-+ associate-*r* flip-+ associate-/l*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv unswap-sqr
+-commutative rem-sqrt-square clear-num sum-log frac-2neg sqrt-pow1 pow1/2 pow-prod-down associate-*l/ *-commutative
Counts
4 → 113
Calls
4 calls:
Slowest
24.0ms
(* (/ -2 (+ (sqrt (fma b b (* (* a -4) c))) b)) c)
19.0ms
(/ -2 (+ (sqrt (fma b b (* (* a -4) c))) b))
10.0ms
(+ (sqrt (fma b b (* (* a -4) c))) b)
2.0ms
(sqrt (fma b b (* (* a -4) c)))

series534.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
161.0ms
(* (/ -2 (+ (sqrt (fma b b (* (* a -4) c))) b)) c)
140.0ms
(+ (sqrt (fma b b (* (* a -4) c))) b)
139.0ms
(/ -2 (+ (sqrt (fma b b (* (* a -4) c))) b))
94.0ms
(sqrt (fma b b (* (* a -4) c)))

simplify5.4s

Counts
86 → 125
Calls
86 calls:
Slowest
456.0ms
(/ -2 (- (* (sqrt (fma b b (* (* a -4) c))) (sqrt (fma b b (* (* a -4) c)))) (* b b)))
351.0ms
(+ (* (sqrt (fma b b (* (* a -4) c))) (sqrt (fma b b (* (* a -4) c)))) (- (* b b) (* (sqrt (fma b b (* (* a -4) c))) b)))
337.0ms
(/ (* (* -2 -2) -2) (* (* (+ (sqrt (fma b b (* (* a -4) c))) b) (+ (sqrt (fma b b (* (* a -4) c))) b)) (+ (sqrt (fma b b (* (* a -4) c))) b)))
309.0ms
(* (* (* (/ -2 (+ (sqrt (fma b b (* (* a -4) c))) b)) (/ -2 (+ (sqrt (fma b b (* (* a -4) c))) b))) (/ -2 (+ (sqrt (fma b b (* (* a -4) c))) b))) (* (* c c) c))
250.0ms
(- b (* 2 (/ (* a c) b)))

prune1.1s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes208.0ms

Accuracy

0% (0.4b remaining)

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

bsearch3.0ms

end0.0ms

sample5.0s

Algorithm
intervals
Results
1.4s16693×pre80true
1.3s4405×body160valid
1.3s8693×body80nan
506.0ms3595×body80valid