Details

Time bar (total: 10.8s)

sample180.0ms

Algorithm
intervals
Results
107.0ms149×body1280valid
25.0ms50×body640valid
10.0ms256×pre80true
4.0ms15×body320valid
4.0ms17×body160valid
2.0ms25×body80valid

simplify20.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605
done2605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.6b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
2.9b
(tan (+ y z))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
16.0ms
(+ x (- (tan (+ y z)) (tan a)))
22.0ms
(- (tan (+ y z)) (tan a))
7.0ms
(tan (+ y z))

series369.0ms

Counts
3 → 9
Calls
3 calls:
167.0ms
(+ x (- (tan (+ y z)) (tan a)))
140.0ms
(- (tan (+ y z)) (tan a))
62.0ms
(tan (+ y z))

simplify41.0ms

Counts
51 → 51
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0196346
1467335
21316334
35002334
done5002334

prune159.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.3b
(* (tan y) (tan z))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
tan-quot
add-exp-log add-cbrt-cube add-log-exp
pow1
distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
flip3-- flip3-+ frac-add associate-/r/ flip-- flip-+ difference-of-squares
cbrt-undiv +-commutative frac-times sub-neg frac-2neg diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num sum-log *-commutative frac-sub cbrt-unprod div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 86
Calls
4 calls:
8.0ms
(+ (tan y) (tan z))
30.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
81.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
15.0ms
(* (tan y) (tan z))

series962.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(+ (tan y) (tan z))
258.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
475.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
117.0ms
(* (tan y) (tan z))

simplify115.0ms

Counts
98 → 98
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03941046
113501000
24363993
35001993
done5001993

prune376.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
0.3b
(pow (* (tan y) (tan z)) 3)

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
50×pow1
44×tan-quot
23×add-exp-log add-cbrt-cube
20×frac-times pow-prod-down
14×associate-*r/ associate-*l/
13×add-sqr-sqrt
11×prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
pow-sqr pow-prod-up add-log-exp
cube-div pow-unpow *-commutative
pow-pow pow-plus pow-exp rem-cube-cbrt unswap-sqr
pow2 cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod swap-sqr sqr-pow
Counts
4 → 116
Calls
4 calls:
15.0ms
(* (tan y) (tan z))
15.0ms
(* (tan y) (tan z))
70.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
16.0ms
(pow (* (tan y) (tan z)) 3)

series531.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (tan y) (tan z))
117.0ms
(* (tan y) (tan z))
144.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
160.0ms
(pow (* (tan y) (tan z)) 3)

simplify71.0ms

Counts
128 → 128
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0433671
12392636
25001632
done5001632

prune514.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize37.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
0.3b
(* (* (tan y) (tan z)) (/ (* (sin y) (sin z)) (* (cos y) (cos z))))
0.3b
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))
0.3b
(pow (* (tan y) (tan z)) 3)

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
62×add-exp-log add-cbrt-cube
29×prod-exp cbrt-unprod
16×tan-quot
14×pow1
12×cbrt-undiv div-exp
10×add-sqr-sqrt
associate-*r*
add-cube-cbrt *-un-lft-identity
frac-times associate-*l/
associate-*r/ pow-prod-down
associate-*l* add-log-exp
cube-div pow-unpow
pow-pow times-frac pow-exp associate-/r/ cos-mult *-commutative div-inv rem-cube-cbrt
cube-mult pow-to-exp unpow-prod-down frac-2neg unpow3 cube-prod clear-num associate-/r* associate-/l/ sin-mult associate-/l* unswap-sqr sqr-pow
Counts
4 → 113
Calls
4 calls:
15.0ms
(* (tan y) (tan z))
62.0ms
(* (* (tan y) (tan z)) (/ (* (sin y) (sin z)) (* (cos y) (cos z))))
19.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))
16.0ms
(pow (* (tan y) (tan z)) 3)

series648.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* (tan y) (tan z))
261.0ms
(* (* (tan y) (tan z)) (/ (* (sin y) (sin z)) (* (cos y) (cos z))))
122.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))
150.0ms
(pow (* (tan y) (tan z)) 3)

simplify120.0ms

Counts
125 → 125
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
06311093
13815973
25002973
done5002973

prune602.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

regimes566.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04130
14730
24730
done4730

end0.0ms

sample5.0s

Algorithm
intervals
Results
3.1s4022×body1280valid
847.0ms1936×body640valid
312.0ms8000×pre80true
199.0ms694×body320valid
107.0ms1081×body80valid
53.0ms267×body160valid