Details

Time bar (total: 26.8s)

sample112.0ms

Algorithm
intervals
Results
74.0ms99×body10240exit
25.0ms256×body80valid

simplify9.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
9.0ms
(/ (exp a) (+ (exp a) (exp b)))

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.7b

localize22.0ms

Local error

Found 1 expressions with local error:

1.7b
(/ (exp a) (+ (exp a) (exp b)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
12×times-frac
10×add-sqr-sqrt add-cube-cbrt
associate-/r* distribute-lft-out
add-cbrt-cube associate-/l*
add-exp-log associate-/r/
expm1-log1p-u pow1 cbrt-undiv clear-num frac-2neg flip3-+ div-exp flip-+ insert-posit16 log1p-expm1-u div-inv add-log-exp
Counts
1 → 36
Calls
1 calls:
Slowest
31.0ms
(/ (exp a) (+ (exp a) (exp b)))

series65.0ms

Counts
1 → 3
Calls
1 calls:
Slowest
65.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify896.0ms

Counts
37 → 39
Calls
37 calls:
Slowest
315.0ms
(/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b))))
92.0ms
(- (+ (* 1/4 a) 1/2) (* 1/4 b))
90.0ms
(+ (* (exp a) (exp a)) (- (* (exp b) (exp b)) (* (exp a) (exp b))))
47.0ms
(/ (* (cbrt (exp a)) (cbrt (exp a))) (* (cbrt (+ (exp a) (exp b))) (cbrt (+ (exp a) (exp b)))))
32.0ms
(/ (* (cbrt (exp a)) (cbrt (exp a))) (sqrt (+ (exp a) (exp b))))

prune368.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.4b

localize33.0ms

Local error

Found 3 expressions with local error:

3.7b
(log (+ (exp a) (exp b)))
0.3b
(- a (log (+ (exp a) (exp b))))
0.0b
(exp (- a (log (+ (exp a) (exp b)))))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
25×add-sqr-sqrt
24×prod-diff
21×add-cube-cbrt
16×exp-sum
12×pow1
log-pow
log-prod
log-div exp-prod add-log-exp
add-exp-log associate--r+ distribute-lft-out-- associate--r-
expm1-log1p-u flip3-+ add-cbrt-cube fma-neg flip-+ insert-posit16 log1p-expm1-u
sub-neg diff-log distribute-lft-out difference-of-squares rem-exp-log
flip3-- exp-diff rem-log-exp flip--
Counts
3 → 92
Calls
3 calls:
Slowest
29.0ms
(exp (- a (log (+ (exp a) (exp b)))))
21.0ms
(- a (log (+ (exp a) (exp b))))
13.0ms
(log (+ (exp a) (exp b)))

series153.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
66.0ms
(exp (- a (log (+ (exp a) (exp b)))))
50.0ms
(log (+ (exp a) (exp b)))
37.0ms
(- a (log (+ (exp a) (exp b))))

simplify6.5s

Counts
78 → 101
Calls
78 calls:
Slowest
547.0ms
(exp (fma (* (cbrt a) (cbrt a)) (cbrt a) (- (* (cbrt (log (+ (exp a) (exp b)))) (* (cbrt (log (+ (exp a) (exp b)))) (cbrt (log (+ (exp a) (exp b)))))))))
334.0ms
(- (+ (exp (- (log 2))) (* 1/2 (* a (exp (- (log 2)))))) (* 1/2 (* (exp (- (log 2))) b)))
326.0ms
(exp (- a (log (+ (pow (exp a) 3) (pow (exp b) 3)))))
313.0ms
(exp (fma (sqrt a) (sqrt a) (- (* (cbrt (log (+ (exp a) (exp b)))) (* (cbrt (log (+ (exp a) (exp b)))) (cbrt (log (+ (exp a) (exp b)))))))))
310.0ms
(exp (fma 1 a (- (* (cbrt (log (+ (exp a) (exp b)))) (* (cbrt (log (+ (exp a) (exp b)))) (cbrt (log (+ (exp a) (exp b)))))))))

prune1.1s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.1b

localize23.0ms

Local error

Found 2 expressions with local error:

1.6b
(/ (+ (exp a) (exp b)) (exp a))
0.0b
(/ 1 (/ (+ (exp a) (exp b)) (exp a)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
92×*-un-lft-identity
60×add-sqr-sqrt add-cube-cbrt
19×associate-/r*
16×distribute-lft-out
11×add-exp-log
add-cbrt-cube
div-exp
associate-/l*
div-inv
cbrt-undiv
pow1
expm1-log1p-u rec-exp clear-num frac-2neg 1-exp insert-posit16 log1p-expm1-u add-log-exp associate-/l/
flip3-+ associate-/r/ flip-+ pow-flip inv-pow
Counts
2 → 127
Calls
2 calls:
Slowest
26.0ms
(/ 1 (/ (+ (exp a) (exp b)) (exp a)))
25.0ms
(/ (+ (exp a) (exp b)) (exp a))

series73.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
38.0ms
(/ (+ (exp a) (exp b)) (exp a))
36.0ms
(/ 1 (/ (+ (exp a) (exp b)) (exp a)))

simplify6.7s

Counts
161 → 133
Calls
161 calls:
Slowest
464.0ms
(/ (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b))) (* (* (exp a) (exp a)) (exp a)))
351.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt (+ (exp a) (exp b))) (cbrt (+ (exp a) (exp b)))) (* (cbrt (exp a)) (cbrt (exp a)))))
262.0ms
(/ (sqrt 1) (/ (* (cbrt (+ (exp a) (exp b))) (cbrt (+ (exp a) (exp b)))) (* (cbrt (exp a)) (cbrt (exp a)))))
234.0ms
(/ (* (* 1 1) 1) (* (* (/ (+ (exp a) (exp b)) (exp a)) (/ (+ (exp a) (exp b)) (exp a))) (/ (+ (exp a) (exp b)) (exp a))))
177.0ms
(/ (sqrt 1) (/ (* (cbrt (+ (exp a) (exp b))) (cbrt (+ (exp a) (exp b)))) (sqrt (exp a))))

prune1.7s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 1.1b

localize41.0ms

Local error

Found 3 expressions with local error:

1.6b
(/ (+ (exp a) (exp b)) (exp a))
1.5b
(posit16->real (real->posit16 (/ (+ (exp a) (exp b)) (exp a))))
0.0b
(/ 1 (posit16->real (real->posit16 (/ (+ (exp a) (exp b)) (exp a)))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
21×times-frac
20×add-sqr-sqrt add-cube-cbrt
add-exp-log
add-cbrt-cube associate-/l*
associate-/r*
pow1 distribute-lft-out
expm1-log1p-u div-exp insert-posit16 log1p-expm1-u add-log-exp
cbrt-undiv clear-num frac-2neg div-inv associate-/l/
rec-exp flip3-+ 1-exp flip-+ remove-posit16 pow-flip inv-pow
Counts
3 → 81
Calls
3 calls:
Slowest
24.0ms
(/ (+ (exp a) (exp b)) (exp a))
4.0ms
(/ 1 (posit16->real (real->posit16 (/ (+ (exp a) (exp b)) (exp a)))))
0.0ms
(posit16->real (real->posit16 (/ (+ (exp a) (exp b)) (exp a))))

series144.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
57.0ms
(/ 1 (posit16->real (real->posit16 (/ (+ (exp a) (exp b)) (exp a)))))
50.0ms
(posit16->real (real->posit16 (/ (+ (exp a) (exp b)) (exp a))))
37.0ms
(/ (+ (exp a) (exp b)) (exp a))

simplify2.4s

Counts
70 → 90
Calls
70 calls:
Slowest
519.0ms
(/ (* (* 1 1) 1) (* (* (posit16->real (real->posit16 (/ (+ (exp a) (exp b)) (exp a)))) (posit16->real (real->posit16 (/ (+ (exp a) (exp b)) (exp a))))) (posit16->real (real->posit16 (/ (+ (exp a) (exp b)) (exp a))))))
470.0ms
(/ (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b))) (* (* (exp a) (exp a)) (exp a)))
110.0ms
(- (* (exp a) (exp a)) (* (exp b) (exp b)))
106.0ms
(- (+ (* 1/4 a) 1/2) (* 1/4 b))
86.0ms
(+ (pow (exp a) 3) (pow (exp b) 3))

prune1.9s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 1.1b

regimes224.0ms

Accuracy

0% (0.3b remaining)

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

bsearch2.0ms

end0.0ms

sample4.2s

Algorithm
intervals
Results
3.2s3433×body10240exit
782.0ms8000×body80valid