Details

Time bar (total: 21.4s)

sample28.0ms

Algorithm
intervals
Results
14.0ms310×body80valid

simplify6.6s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1229
2469
31199
42289
53589
65079
710089
837839
done50019

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.2b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
9.5b
(/ (* 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:
112.0ms
(* x (+ (- y z) 1.0))
64.0ms
(/ (* x (+ (- y z) 1.0)) z)

series117.0ms

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

simplify3.3s

Counts
57 → 57
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
098645
1262625
2923531
34857520
done5000520

prune199.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite77.0ms

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

series116.0ms

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

simplify1.7s

Counts
67 → 67
Iterations

Useful iterations: done (1.7s)

IterNodesCost
0133793
1411709
21290654
done5000648

prune283.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite108.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:
47.0ms
(/ z (+ (- y z) 1.0))
51.0ms
(/ x (/ z (+ (- y z) 1.0)))

series122.0ms

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

simplify1.4s

Counts
149 → 149
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02042436
14492269
215122172
done50012149

prune457.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize30.0ms

Local error

Found 3 expressions with local error:

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

rewrite116.0ms

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

series193.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(* x (+ y 1.0))
65.0ms
(- (* (/ 1 1) (/ (* x (+ y 1.0)) z)) x)
80.0ms
(/ (* x (+ y 1.0)) z)

simplify4.3s

Counts
77 → 77
Iterations

Useful iterations: 3 (2.2s)

IterNodesCost
0133911
1342804
21068672
34912642
done5000642

prune264.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes205.0ms

Accuracy

96.1% (0.1b remaining)

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

bsearch2.0ms

simplify5.0ms

Iterations

Useful iterations: done (5.0ms)

IterNodesCost
02455
13545
done3543

end0.0ms

sample1.5s

Algorithm
intervals
Results
1.1s10099×body80valid