Details

Time bar (total: 39.3s)

sample61.0ms

Algorithm
intervals
Results
36.0ms277×body80valid
11.0ms97×body80nan

simplify169.0ms

Calls
1 calls:
Slowest
169.0ms
(if (>= b 0) (/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)))

prune17.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 22.7b

localize149.0ms

Local error

Found 4 expressions with local error:

25.3b
(sqrt (- (* b b) (* (* 4 a) c)))
25.3b
(sqrt (- (* b b) (* (* 4 a) c)))
1.5b
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))
0.8b
(- (* b b) (* (* 4 a) c))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt sqrt-prod
add-cbrt-cube sqrt-div add-exp-log insert-posit16
flip3-- flip--
rem-sqrt-square sum-log sqrt-pow1 pow1/2 distribute-lft-out
neg-sub0 +-commutative sub-neg distribute-rgt-neg-in flip3-+ diff-log neg-log associate-+l- flip-+
Calls
4 calls:
Slowest
28.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))
16.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
14.0ms
(- (* b b) (* (* 4 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4 a) c)))

series428.0ms

Calls
4 calls:
Slowest
119.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))
117.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
110.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
82.0ms
(- (* b b) (* (* 4 a) c))

simplify3.4s

Calls
31 calls:
Slowest
358.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
347.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
278.0ms
(/ (exp (* b b)) (exp (* (* 4 a) c)))
217.0ms
(sqrt (- (pow (* b b) 3) (pow (* (* 4 a) c) 3)))
216.0ms
(- b (* 2 (/ (* a c) b)))

prune1.0s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 10.4b

localize177.0ms

Local error

Found 4 expressions with local error:

25.3b
(sqrt (- (* b b) (* (* 4 a) c)))
3.9b
(* a (/ c b))
3.6b
(/ (* (- (* a (/ c b)) b) 2) (* 2 a))
0.8b
(- (* b b) (* (* 4 a) c))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
21×add-cbrt-cube add-exp-log
19×add-sqr-sqrt
13×*-un-lft-identity associate-*r* add-cube-cbrt
11×times-frac
pow1
prod-exp cbrt-unprod add-log-exp
cbrt-undiv div-exp
insert-posit16
flip3-- associate-*l* sqrt-prod flip--
sqrt-div associate-*l/ div-inv unswap-sqr associate-/l/
rem-sqrt-square clear-num associate-/r* sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log pow-prod-down associate-*r/ *-commutative associate-/l*
Calls
4 calls:
Slowest
20.0ms
(/ (* (- (* a (/ c b)) b) 2) (* 2 a))
15.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
10.0ms
(- (* b b) (* (* 4 a) c))
9.0ms
(* a (/ c b))

series266.0ms

Calls
4 calls:
Slowest
110.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
76.0ms
(/ (* (- (* a (/ c b)) b) 2) (* 2 a))
58.0ms
(- (* b b) (* (* 4 a) c))
21.0ms
(* a (/ c b))

simplify10.7s

Calls
57 calls:
Slowest
2.9s
(/ (* (* (* (- (* a (/ c b)) b) (- (* a (/ c b)) b)) (- (* a (/ c b)) b)) (* (* 2 2) 2)) (* (* (* 2 a) (* 2 a)) (* 2 a)))
1.6s
(/ (* (* (* (- (* a (/ c b)) b) (- (* a (/ c b)) b)) (- (* a (/ c b)) b)) (* (* 2 2) 2)) (* (* (* 2 2) 2) (* (* a a) a)))
935.0ms
(/ (* (* (* (- (* a (/ c b)) b) 2) (* (- (* a (/ c b)) b) 2)) (* (- (* a (/ c b)) b) 2)) (* (* (* 2 2) 2) (* (* a a) a)))
788.0ms
(/ (* (* (* (- (* a (/ c b)) b) 2) (* (- (* a (/ c b)) b) 2)) (* (- (* a (/ c b)) b) 2)) (* (* (* 2 a) (* 2 a)) (* 2 a)))
711.0ms
(- (log (* (- (* a (/ c b)) b) 2)) (+ (log 2) (log a)))

prune1.6s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 10.1b

localize150.0ms

Local error

Found 4 expressions with local error:

25.3b
(sqrt (- (* b b) (* (* 4 a) c)))
0.8b
(- (* b b) (* (* 4 a) c))
0.5b
(- (- b) (sqrt (- (* b b) (* (* 4 a) c))))
0.1b
(/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×*-un-lft-identity
10×add-log-exp
add-cbrt-cube add-exp-log
associate-/r* times-frac add-cube-cbrt
sqrt-prod distribute-lft-out-- difference-of-squares
pow1
flip3-- insert-posit16 flip--
distribute-rgt-neg-in diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/r/
associate--l- neg-sub0 rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 neg-log prod-exp cbrt-unprod div-inv associate-/l*
Calls
4 calls:
Slowest
33.0ms
(/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))))
29.0ms
(- (- b) (sqrt (- (* b b) (* (* 4 a) c))))
14.0ms
(- (* b b) (* (* 4 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4 a) c)))

series541.0ms

Calls
4 calls:
Slowest
251.0ms
(/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))))
122.0ms
(- (- b) (sqrt (- (* b b) (* (* 4 a) c))))
89.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
79.0ms
(- (* b b) (* (* 4 a) c))

simplify5.3s

Calls
55 calls:
Slowest
347.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
320.0ms
(/ (* (* (* 2 c) (* 2 c)) (* 2 c)) (* (* (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))))
316.0ms
(+ (* (- b) (- b)) (+ (* (sqrt (- (* b b) (* (* 4 a) c))) (sqrt (- (* b b) (* (* 4 a) c)))) (* (- b) (sqrt (- (* b b) (* (* 4 a) c))))))
307.0ms
(/ (* (* (* 2 2) 2) (* (* c c) c)) (* (* (- (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))))
244.0ms
(/ (exp (* b b)) (exp (* (* 4 a) c)))

prune1.5s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 8.3b

localize135.0ms

Local error

Found 4 expressions with local error:

4.3b
(/ (* 2 c) (* (- (* a (/ c b)) b) 2))
3.9b
(* a (/ c b))
0.0b
(- (* a (/ c b)) b)
0.0b
(- (/ c b) (/ b a))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
21×add-cbrt-cube add-exp-log
18×*-un-lft-identity
17×times-frac
13×associate-*r*
12×add-cube-cbrt
add-log-exp
pow1 prod-exp cbrt-unprod
cbrt-undiv div-exp
insert-posit16 difference-of-squares
flip3-- associate-*l* flip--
sub-neg diff-log associate-*l/ associate-/r/ div-inv distribute-lft-out-- unswap-sqr
clear-num associate-/r* frac-2neg pow-prod-down associate-*r/ *-commutative frac-sub associate-/l*
Calls
4 calls:
Slowest
50.0ms
(/ (* 2 c) (* (- (* a (/ c b)) b) 2))
17.0ms
(* a (/ c b))
15.0ms
(- (* a (/ c b)) b)
11.0ms
(- (/ c b) (/ b a))

series238.0ms

Calls
4 calls:
Slowest
100.0ms
(/ (* 2 c) (* (- (* a (/ c b)) b) 2))
74.0ms
(- (* a (/ c b)) b)
37.0ms
(* a (/ c b))
28.0ms
(- (/ c b) (/ b a))

simplify7.8s

Calls
63 calls:
Slowest
2.1s
(/ (* (* (* 2 2) 2) (* (* c c) c)) (* (* (* (- (* a (/ c b)) b) 2) (* (- (* a (/ c b)) b) 2)) (* (- (* a (/ c b)) b) 2)))
1.0s
(/ (* (* (* 2 2) 2) (* (* c c) c)) (* (* (* (- (* a (/ c b)) b) (- (* a (/ c b)) b)) (- (* a (/ c b)) b)) (* (* 2 2) 2)))
832.0ms
(/ (* (* (* 2 c) (* 2 c)) (* 2 c)) (* (* (* (- (* a (/ c b)) b) 2) (* (- (* a (/ c b)) b) 2)) (* (- (* a (/ c b)) b) 2)))
778.0ms
(/ (* (* (* 2 c) (* 2 c)) (* 2 c)) (* (* (* (- (* a (/ c b)) b) (- (* a (/ c b)) b)) (- (* a (/ c b)) b)) (* (* 2 2) 2)))
717.0ms
(- (+ (log 2) (log c)) (+ (log (- (* a (/ c b)) b)) (log 2)))

prune1.1s

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 8.3b

regimes905.0ms

Accuracy

88.4% (1.9b remaining)

Error of 7.4b against oracle of 5.5b and baseline of 21.8b

bsearch354.0ms

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.9s8729×body80valid
600.0ms2941×body80nan