Details

Time bar (total: 7.2s)

sample34.0ms

Algorithm
intervals
Results
14.0ms325×body80valid

simplify670.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1229
2449
31139
43759
513589
done50019

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.4b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite143.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:
102.0ms
(* x (+ (- y z) 1.0))
40.0ms
(/ (* x (+ (- y z) 1.0)) z)

series80.0ms

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

simplify972.0ms

Counts
53 → 53
Iterations

Useful iterations: done (970.0ms)

IterNodesCost
094609
1272593
21247507
done5001499

prune157.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite103.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:
39.0ms
(/ z (+ (- y z) 1.0))
57.0ms
(/ x (/ z (+ (- y z) 1.0)))

series126.0ms

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

simplify1.0s

Counts
145 → 145
Iterations

Useful iterations: 2 (366.0ms)

IterNodesCost
02002400
15222252
225672148
done50012148

prune371.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite187.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 times-frac associate-/r*
cbrt-undiv diff-log div-exp sum-log
+-commutative sub-neg flip3-- frac-2neg flip3-+ associate-*r/ frac-add prod-exp associate--l+ clear-num flip-- cbrt-unprod flip-+ div-inv associate-/l* distribute-lft-out-- difference-of-squares
Counts
3 → 49
Calls
3 calls:
145.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
25.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
15.0ms
(/ (* x y) z)

series163.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
64.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
33.0ms
(/ (* x y) z)

simplify798.0ms

Counts
58 → 58
Iterations

Useful iterations: done (796.0ms)

IterNodesCost
099812
1273759
21306713
done5001699

prune113.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 1 expressions with local error:

7.1b
(* (/ x z) (+ (- y z) 1.0))

rewrite109.0ms

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

series59.0ms

Counts
1 → 3
Calls
1 calls:
59.0ms
(* (/ x z) (+ (- y z) 1.0))

simplify843.0ms

Counts
43 → 43
Iterations

Useful iterations: 2 (173.0ms)

IterNodesCost
094557
1346546
21613490
done5001490

prune134.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes127.0ms

Accuracy

96.5% (0.1b remaining)

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

bsearch53.0ms

Steps
ItersRangePoint
2
6.345396050147081e-21
7.349402576997952e-21
7.170043320155678e-21
9
-1.0251757777877082e+26
-1.4764217379799482e+20
-3.255737935546284e+25

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02039
12731
done2731

end0.0ms

sample915.0ms

Algorithm
intervals
Results
449.0ms10107×body80valid