Details

Time bar (total: 13.5s)

sample23.0ms

Algorithm
intervals
Results
10.0ms268×body80valid

simplify4.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01317
12517
23917
36417
411317
521817
644917
7116017
8496617
done500017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.0b
(- (* y z) x)
0.5b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
7.8b
(/ (- (* y z) x) (- (* t z) x))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
25×times-frac
24×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 expm1-log1p-u div-sub associate-/r/ log1p-expm1-u associate-/l/
flip3-- fma-def flip3-+ prod-diff flip-- flip-+
cbrt-undiv associate-+r- frac-2neg div-exp clear-num div-inv
+-commutative sub-neg fma-neg diff-log sum-log
Counts
4 → 113
Calls
4 calls:
18.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
3.0ms
(- (* y z) x)
63.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
12.0ms
(/ (- (* y z) x) (- (* t z) x))

series340.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
29.0ms
(- (* y z) x)
144.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
72.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify752.0ms

Counts
125 → 125
Iterations

Useful iterations: 2 (162.0ms)

IterNodesCost
01832295
14652175
218322036
done50002036

prune402.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.5b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.3b
(/ 1 (- (* t z) x))
0.5b
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
7.8b
(* (- (* y z) x) (/ 1 (- (* t z) x)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
37×add-sqr-sqrt
32×times-frac
30×add-cube-cbrt
19×add-exp-log
15×associate-*r*
13×add-cbrt-cube
pow1 associate-/r*
associate-/r/ associate-/l* add-log-exp
flip3-- div-exp flip--
expm1-log1p-u prod-exp log1p-expm1-u distribute-lft-out
cbrt-undiv associate-*l* prod-diff div-inv unswap-sqr
frac-times rec-exp frac-2neg flip3-+ 1-exp associate-*l/ clear-num cbrt-unprod flip-+ associate-/l/
sub-neg pow-flip fma-neg diff-log associate-*r/ pow-prod-down un-div-inv *-commutative inv-pow
Counts
4 → 134
Calls
4 calls:
3.0ms
(- (* y z) x)
7.0ms
(/ 1 (- (* t z) x))
12.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
25.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series263.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- (* y z) x)
30.0ms
(/ 1 (- (* t z) x))
139.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
65.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

simplify1.0s

Counts
146 → 146
Iterations

Useful iterations: 2 (199.0ms)

IterNodesCost
02142542
15292235
220852005
done50012005

prune428.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.2b
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
0.5b
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
7.9b
(/ (- (* t z) x) (- (* y z) x))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
110×times-frac
95×*-un-lft-identity
68×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
19×add-exp-log
16×distribute-lft-out
13×associate-/r/ add-cbrt-cube
12×div-inv
11×associate-/l*
div-exp
flip3-- flip--
add-log-exp
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u associate-/l/
frac-2neg prod-diff clear-num
rec-exp flip3-+ 1-exp flip-+
sub-neg pow-flip fma-neg diff-log div-sub inv-pow
Counts
4 → 185
Calls
4 calls:
6.0ms
(- (* y z) x)
13.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
98.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
12.0ms
(/ (- (* t z) x) (- (* y z) x))

series384.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(- (* y z) x)
105.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
182.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
70.0ms
(/ (- (* t z) x) (- (* y z) x))

simplify1.6s

Counts
197 → 197
Iterations

Useful iterations: 2 (299.0ms)

IterNodesCost
02854287
16974006
229023521
done50003521

prune508.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (- (* y z) x))
0.3b
(/ 1 (- (* t z) x))
0.5b
(/ (+ x (/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))) (+ x 1.0))
7.6b
(/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))

rewrite326.0ms

Algorithm
rewrite-expression-head
Rules
547×times-frac
274×*-un-lft-identity
254×add-sqr-sqrt add-cube-cbrt
71×associate-/r/
54×add-exp-log
37×div-exp
36×div-inv
34×flip3-- flip--
25×associate-/r* associate-/l*
22×add-cbrt-cube
11×cbrt-undiv
10×rec-exp 1-exp distribute-lft-out
pow1
expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/l/
pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 401
Calls
4 calls:
6.0ms
(/ 1 (- (* y z) x))
6.0ms
(/ 1 (- (* t z) x))
261.0ms
(/ (+ x (/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))) (+ x 1.0))
27.0ms
(/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))

series354.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ 1 (- (* y z) x))
30.0ms
(/ 1 (- (* t z) x))
184.0ms
(/ (+ x (/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))) (+ x 1.0))
110.0ms
(/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))

simplify925.0ms

Counts
413 → 413
Iterations

Useful iterations: done (909.0ms)

IterNodesCost
059512002
1174510483
done50019281

prune732.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.5b

regimes236.0ms

Accuracy

81% (1.2b remaining)

Error of 2.1b against oracle of 0.9b and baseline of 7.3b

bsearch2.0ms

simplify6.0ms

Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
02275
13067
done3067

end0.0ms

sample550.0ms

Algorithm
intervals
Results
328.0ms8332×body80valid