Details

Time bar (total: 17.8s)

sample169.0ms

Algorithm
intervals
Results
101.0ms126×body1280valid
25.0ms60×body640valid
10.0ms256×pre80true
7.0ms23×body320valid
3.0ms37×body80valid
2.0ms10×body160valid

simplify62.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
099
1159
2229
3319
4379
5479
6549
7669
8899
91039
101099
done1099

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.7b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.8b
(tan (+ y z))

rewrite19.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:
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series287.0ms

Counts
3 → 9
Calls
3 calls:
119.0ms
(+ x (- (tan (+ y z)) (tan a)))
114.0ms
(- (tan (+ y z)) (tan a))
53.0ms
(tan (+ y z))

simplify1.5s

Counts
51 → 51
Iterations

Useful iterations: 3 (129.0ms)

IterNodesCost
091627
1197590
2430572
31039570
43673570
done5000570

prune143.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
3.0ms
(+ (tan y) (tan z))
68.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
40.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series900.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(+ (tan y) (tan z))
342.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
377.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
89.0ms
(* (tan y) (tan z))

simplify898.0ms

Counts
79 → 79
Iterations

Useful iterations: 3 (323.0ms)

IterNodesCost
01541433
13681362
29191302
323381291
done50001291

prune282.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
108×*-un-lft-identity
80×times-frac
72×add-sqr-sqrt
56×add-cube-cbrt
27×swap-sqr
24×associate-*r* associate-*l*
23×distribute-lft-out
22×add-exp-log add-cbrt-cube
21×tan-quot
20×pow1
11×associate-/r/ associate-/l/
frac-times associate-*r/ associate-*l/ frac-sub
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv flip3-- div-exp flip-- div-inv difference-of-squares
associate-/r* associate-/l* add-log-exp
pow-prod-down *-commutative
pow2 pow-plus pow-sqr pow-prod-up
frac-2neg flip3-+ div-sub frac-add clear-num flip-+
Counts
4 → 188
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan a) (tan a))
39.0ms
(* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
76.0ms
(/ (- (* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

series1.6s

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (tan y) (tan z))
37.0ms
(* (tan a) (tan a))
220.0ms
(* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
1.2s
(/ (- (* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

simplify1.4s

Counts
200 → 200
Iterations

Useful iterations: 2 (431.0ms)

IterNodesCost
03447613
19697005
240476440
done50006440

prune686.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite196.0ms

Algorithm
rewrite-expression-head
Rules
245×tan-quot
141×frac-times
99×associate-*l/
95×associate-/l/
93×frac-sub
57×flip3-+ associate-*r/ frac-add flip-+
45×*-un-lft-identity
29×add-sqr-sqrt
23×add-cube-cbrt
20×pow1
12×add-exp-log times-frac add-cbrt-cube
10×associate-*r* associate-*l* distribute-lft-out
swap-sqr
associate-/r* add-log-exp
pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate-/l* unswap-sqr
pow2 pow-plus pow-sqr pow-prod-up
cbrt-undiv distribute-rgt-in flip3-- frac-2neg distribute-lft-in div-sub div-exp clear-num flip-- div-inv
Counts
4 → 226
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan a) (tan a))
20.0ms
(* (+ (tan y) (tan z)) (+ (tan y) (tan z)))
150.0ms
(/ (- (* (* (+ (tan y) (tan z)) (+ (tan y) (tan z))) (/ (/ 1 (- 1 (* (tan y) (tan z)))) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

series1.4s

Counts
4 → 12
Calls
4 calls:
90.0ms
(* (tan y) (tan z))
37.0ms
(* (tan a) (tan a))
94.0ms
(* (+ (tan y) (tan z)) (+ (tan y) (tan z)))
1.2s
(/ (- (* (* (+ (tan y) (tan z)) (+ (tan y) (tan z))) (/ (/ 1 (- 1 (* (tan y) (tan z)))) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

simplify1.3s

Counts
238 → 238
Iterations

Useful iterations: 2 (390.0ms)

IterNodesCost
03908269
110877900
245467485
done50007485

prune1.4s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

regimes241.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01721
12221
done2221

end0.0ms

sample5.1s

Algorithm
intervals
Results
3.2s3961×body1280valid
847.0ms1922×body640valid
315.0ms8000×pre80true
206.0ms682×body320valid
102.0ms1154×body80valid
56.0ms281×body160valid