Details

Time bar (total: 13.7s)

sample37.0ms

Algorithm
intervals
Results
15.0ms341×body80valid

simplify1.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1229
2469
31199
44089
515199
done50019

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.1b

localize15.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
10.4b
(/ (* x (+ (- y z) 1.0)) z)

rewrite178.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u flip3-+ div-exp prod-exp cbrt-unprod flip-+ log1p-expm1-u associate-/l/ distribute-lft-out add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
2 → 51
Calls
2 calls:
118.0ms
(* x (+ (- y z) 1.0))
57.0ms
(/ (* x (+ (- y z) 1.0)) z)

series146.0ms

Counts
2 → 6
Calls
2 calls:
66.0ms
(* x (+ (- y z) 1.0))
80.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify1.2s

Counts
57 → 57
Iterations

Useful iterations: done (1.1s)

IterNodesCost
098645
1280625
21311539
done5001531

prune137.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
3.4b
(/ x (/ z (+ (- y z) 1.0)))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
138×times-frac
70×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-out
26×associate-/r*
16×distribute-lft-out--
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
2 → 143
Calls
2 calls:
46.0ms
(/ z (+ (- y z) 1.0))
52.0ms
(/ x (/ z (+ (- y z) 1.0)))

series144.0ms

Counts
2 → 6
Calls
2 calls:
74.0ms
(/ z (+ (- y z) 1.0))
70.0ms
(/ x (/ z (+ (- y z) 1.0)))

simplify1.3s

Counts
149 → 149
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02042436
15282285
225542180
done50002177

prune408.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ (- y z) 1.0) z)
3.6b
(* x (/ (+ (- y z) 1.0) z))

rewrite216.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
31×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt
19×associate-*r*
14×distribute-lft-out
add-exp-log add-cbrt-cube
distribute-lft-out--
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
associate-+l- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 80
Calls
2 calls:
83.0ms
(/ (+ (- y z) 1.0) z)
129.0ms
(* x (/ (+ (- y z) 1.0) z))

series91.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(/ (+ (- y z) 1.0) z)
61.0ms
(* x (/ (+ (- y z) 1.0) z))

simplify975.0ms

Counts
86 → 86
Iterations

Useful iterations: 2 (208.0ms)

IterNodesCost
01111039
1292999
21307903
done5000903

prune217.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (+ (- y z) 1.0) (/ 1 z))
3.6b
(* x (* (+ (- y z) 1.0) (/ 1 z)))

rewrite282.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log
18×add-sqr-sqrt
17×*-un-lft-identity
16×add-cbrt-cube
14×associate-*r*
13×prod-exp
11×add-cube-cbrt times-frac
pow1
associate-*r/ associate-*l*
cbrt-unprod
frac-times flip3-+ div-exp pow-prod-down associate-*l/ flip-+
unswap-sqr
cbrt-undiv expm1-log1p-u rec-exp 1-exp un-div-inv *-commutative log1p-expm1-u distribute-lft-out add-log-exp
div-inv distribute-lft-out--
Counts
2 → 74
Calls
2 calls:
139.0ms
(* (+ (- y z) 1.0) (/ 1 z))
140.0ms
(* x (* (+ (- y z) 1.0) (/ 1 z)))

series87.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(* (+ (- y z) 1.0) (/ 1 z))
52.0ms
(* x (* (+ (- y z) 1.0) (/ 1 z)))

simplify5.1s

Counts
80 → 80
Iterations

Useful iterations: 2 (556.0ms)

IterNodesCost
01361111
13871024
22966781
done5000781

prune170.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes138.0ms

Accuracy

96.9% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 3.4b

bsearch51.0ms

Steps
ItersRangePoint
6
1.4880965240445664e-08
1.5458422377508842e-07
1.1385031497556668e-07
5
-1.9599109385546637e+36
-8.724459863459369e+35
-8.845104157338096e+35

simplify4.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01635
12227
done2227

end0.0ms

sample967.0ms

Algorithm
intervals
Results
474.0ms10109×body80valid