Details

Time bar (total: 16.9s)

sample24.0ms

Algorithm
intervals
Results
12.0ms310×body80valid

simplify4.9s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1229
2449
31139
41949
52919
63859
77959
831279
done50009

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.2b

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite151.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 flip3-+ div-exp prod-exp cbrt-unprod flip-+ 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 → 47
Calls
2 calls:
106.0ms
(* x (+ (- y z) 1.0))
44.0ms
(/ (* x (+ (- y z) 1.0)) z)

series93.0ms

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

simplify2.7s

Counts
53 → 53
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
094609
1254593
2882499
34763485
done5002485

prune137.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite70.0ms

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

series114.0ms

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

simplify3.0s

Counts
59 → 59
Iterations

Useful iterations: 3 (1.8s)

IterNodesCost
0114680
1368628
21158582
34795576
done5000576

prune155.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite129.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 frac-2neg clear-num add-log-exp
Counts
2 → 139
Calls
2 calls:
55.0ms
(/ z (+ (- y z) 1.0))
63.0ms
(/ x (/ z (+ (- y z) 1.0)))

series126.0ms

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

simplify1000.0ms

Counts
145 → 145
Iterations

Useful iterations: done (993.0ms)

IterNodesCost
02002400
14412236
214792142
done50012116

prune337.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 add-log-exp
associate-*r/ associate-*r*
times-frac associate-*l* associate-/r* difference-of-squares
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/
distribute-rgt-in sub-neg unpow-prod-down flip3-- frac-2neg distribute-lft-in diff-log pow-prod-down clear-num *-commutative flip-- div-inv distribute-lft-out associate-/l* distribute-lft-out-- unswap-sqr sqr-pow
Counts
3 → 62
Calls
3 calls:
32.0ms
(* x (+ 1.0 y))
36.0ms
(- (pow (/ (* x (+ 1.0 y)) z) 1) x)
16.0ms
(/ (* x (+ 1.0 y)) z)

series140.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(* x (+ 1.0 y))
53.0ms
(- (pow (/ (* x (+ 1.0 y)) z) 1) x)
52.0ms
(/ (* x (+ 1.0 y)) z)

simplify2.6s

Counts
71 → 71
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
0123821
1302718
2966654
34304630
done5000630

prune134.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes109.0ms

Accuracy

96.1% (0.1b remaining)

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

bsearch1.0ms

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02353
13343
done3343

end0.0ms

sample767.0ms

Algorithm
intervals
Results
497.0ms10099×body80valid