Details

Time bar (total: 9.0s)

sample101.0ms

Algorithm
intervals
Results
48.0ms118×body1280valid
15.0ms71×body640valid
10.0ms256×pre80true
3.0ms23×body320valid
2.0ms36×body80valid
1.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.9b

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.2b
(tan (+ y z))

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

series288.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune165.0ms

Pruning

9 alts after pruning (9 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.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
16×associate-*l/
14×tan-quot add-sqr-sqrt
13×add-exp-log add-cbrt-cube
12×*-un-lft-identity
10×add-cube-cbrt
pow1 associate-/l/
associate-*r* associate-*l* frac-sub add-log-exp
flip3-- flip--
flip3-+ times-frac frac-add prod-exp cbrt-unprod flip-+ associate-/l*
cbrt-undiv frac-times associate-*r/ div-exp pow-prod-down associate-/r/ *-commutative unswap-sqr
+-commutative frac-2neg div-sub clear-num associate-/r* sum-log div-inv distribute-lft-out
Counts
4 → 87
Calls
4 calls:
5.0ms
(+ (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
9.0ms
(* (tan y) (tan z))
15.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series749.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(+ (tan y) (tan z))
92.0ms
(* (tan y) (tan z))
93.0ms
(* (tan y) (tan z))
471.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify65.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05421216
124401075
250021058

prune666.0ms

Pruning

10 alts after pruning (10 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.2b
(* (tan y) (sin z))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))
0.2b
(/ (* (tan y) (sin z)) (cos z))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
17×associate-*l/
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
10×tan-quot
associate-/l/
pow1
times-frac associate-*r* associate-*l* frac-sub
flip3-- flip--
cbrt-undiv div-exp prod-exp associate-/r* cbrt-unprod associate-/l* add-log-exp
frac-2neg flip3-+ pow-prod-down frac-add clear-num associate-/r/ *-commutative flip-+ div-inv unswap-sqr
frac-times div-sub associate-*r/
Counts
4 → 94
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (sin z))
17.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))
6.0ms
(/ (* (tan y) (sin z)) (cos z))

series713.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(* (tan y) (tan z))
63.0ms
(* (tan y) (sin z))
465.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))
94.0ms
(/ (* (tan y) (sin z)) (cos z))

simplify81.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06311392
129641208
250011208

prune556.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
55×add-exp-log add-cbrt-cube
21×times-frac
20×add-sqr-sqrt
18×cbrt-undiv add-cube-cbrt *-un-lft-identity div-exp prod-exp cbrt-unprod
17×associate-*l/
11×pow1
10×associate-/l/
swap-sqr associate-*r* associate-*l* associate-/r* div-inv
tan-quot frac-sub
flip3-- flip-- associate-/l*
add-log-exp
frac-2neg clear-num
flip3-+ frac-add associate-/r/ flip-+
pow2 frac-times pow-plus div-sub associate-*r/ pow-prod-down pow-sqr *-commutative pow-prod-up unswap-sqr
Counts
4 → 132
Calls
4 calls:
6.0ms
(/ (* (tan y) (sin z)) (cos z))
6.0ms
(/ (* (tan y) (sin z)) (cos z))
23.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- (* 1 1) (* (/ (* (tan y) (sin z)) (cos z)) (/ (* (tan y) (sin z)) (cos z)))) (cos a)))
13.0ms
(* (/ (* (tan y) (sin z)) (cos z)) (/ (* (tan y) (sin z)) (cos z)))

series834.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(/ (* (tan y) (sin z)) (cos z))
98.0ms
(/ (* (tan y) (sin z)) (cos z))
518.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- (* 1 1) (* (/ (* (tan y) (sin z)) (cos z)) (/ (* (tan y) (sin z)) (cos z)))) (cos a)))
121.0ms
(* (/ (* (tan y) (sin z)) (cos z)) (/ (* (tan y) (sin z)) (cos z)))

simplify120.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
08242393
145731886
250021867

prune758.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

regimes678.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03524
13524

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.7s3943×body1280valid
452.0ms1912×body640valid
330.0ms8000×pre80true
113.0ms717×body320valid
55.0ms1146×body80valid
30.0ms282×body160valid